This project is archived and is in readonly mode.
Cookie's expiration date is being ignored by Firefox
Reported by slnc | April 21st, 2009 @ 03:44 PM | in 2.x
Rails 2.3 uses dashes instead of spaces when specifying a expiration date (it used spaces at least until 2.1.2) so cookies's expiration dates are completely ignored at least in Firefox and any cookie set through Rails is lost at the end of the session.
Adding insult to injury I shall mention that rails 2.3 removed the ability to test easily test cookie's expiration dates so the only possible way is to hack around the headers.
Comments and changes to this ticket
-
slnc April 21st, 2009 @ 04:02 PM
- Tag cleared.
Ok, ticket invalid and my fault. I had monkey patched Date.strftime to translate dates and that's why the cookies expiration dates weren't being saved.
-
CancelProfileIsBroken April 21st, 2009 @ 04:19 PM
- State changed from new to invalid
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="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>