Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Cookie's expiration date is being ignored by Firefox

#2535

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.

Reported by slnc · April 21st, 2009 @ 03:44 PM

State: invalid
Milestone: 2.x
Assigned to: nobody
Importance: none

Activity

  1. slnc
    slnc
    • 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.

    April 21st, 2009 @ 04:02 PM

  2. CancelProfileIsBroken
    CancelProfileIsBroken
    • State changed from new to invalid

    April 21st, 2009 @ 04:19 PM