This project is archived and is in readonly mode.

#6634 new
Aaron Gibralter

Rails/Rack inconsistency about `:expires_after`/`:expires` cookie option.

Reported by Aaron Gibralter | March 27th, 2011 @ 08:48 PM

Rails seems to indicate that it accepts a :expires_after option for cookies in the session setup. However, it uses Rack's Rack::Utils.set_cookie_header! method... which expects an :expires option...

https://github.com/rails/rails/blob/v2.3.11/actionpack/lib/action_c...

https://github.com/rack/rack/blob/1.1/lib/rack/utils.rb#L176-205

Comments and changes to this ticket

Create your profile

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

Tickets have moved to Github

The new ticket tracker is available at https://github.com/rails/rails/issues

Shared Ticket Bins

People watching this ticket

Pages