This project is archived and is in readonly mode.
2.3.8: problem with the cookie_jar in rack_test
-
Elise Huard
- Tag set to 2.3.8
-
Elise Huard
also in 2.3.8.pre1
-
Etienne Vallette d'Osia
This is a quick and dirty fix which makes all my tests pass.
I hope it can help until the real bug fix !--- lib/rack/test/cookie_jar.rb +++ lib/rack/test/cookie_jar.rb @@ -126,7 +126,6 @@ end def <<(new_cookie) + return if new_cookie.name.blank? @cookies.reject! do |existing_cookie| new_cookie.replaces?(existing_cookie) end -
Anil Wadghule
Etienne, can you provide patch file?
-
Etienne Vallette d'Osia
Just to be clear, I see this fix like an help for final users, waiting for real fix :-)
-
rbxbx
http://gist.github.com/414902 works as well.
-
Santiago Pastorino
- State changed from new to open
- Tag changed from 2.3.8 to 238
This issue has been automatically marked as stale because it has not been commented on for at least three months.
The resources of the Rails core team are limited, and so we are asking for your help. If you can still reproduce this error on the 3-0-stable branch or on master, please reply with all of the information you have about it and add "[state:open]" to your comment. This will reopen the ticket for review. Likewise, if you feel that this is a very important feature for Rails to include, please reply with your explanation so we can consider it.
Thank you for all your contributions, and we hope you will understand this step to focus our efforts where they are most helpful.
-
Santiago Pastorino
- State changed from open to stale
