This project is archived and is in readonly mode.
Changeset [c6e33d30c1fe02e5729a269ab577967fb59a5e6c] by Mislav Marohnić
Revision c6e33d30c1fe02e5729a269ab577967fb59a5e6c,
committed by Mislav Marohnić
· September 8th, 2010 @ 04:59 PM
fix setting session cookie with activerecord and memcache store
Commit f8f3653 broke setting the session ID cookie for requests
without 'HTTP_COOKIE' header
when using activerecord or memcache store. Integration tests didn't
catch this because they
always set the HTTP_COOKIE header for mock requests, so now this is
changed to only set the
header if there are cookies.
[#5581 state:committed]
Signed-off-by: Santiago Pastorino santiago@wyeworks.com
http://github.com/rails/rails/commit/c6e33d30c1fe02e5729a269ab57796...
2 changed files
-
M
actionpack/lib/action_controller/integration.rb -
M
actionpack/lib/action_controller/session/abstract_store.rb