This project is archived and is in readonly mode.

Changeset [c6e33d30c1fe02e5729a269ab577967fb59a5e6c] 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

Committed by Mislav Marohnić

  • M actionpack/lib/action_controller/integration.rb
  • M actionpack/lib/action_controller/session/abstract_store.rb

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href=""></a>