rails/actionpack/lib
Adrianna Chang 9d840a1719
Make ActionDispatch::SSL compatible with Rack 3.0
Rack 3 now allows response header values to be an Array when handling
multiple values. Newline encoded headers are no longer supported.

This commit updates `ActionDispatch::SSL#flag_cookies_as_secure!` to
be Rack-3 compliant by setting the `set-cookie` header to an Array
rather than a newline-separated String if the current Rack version is
3+.

Additionally, this commit adds `Rack::Lint` to the Rack app in the
middleware test suite so that we can ensure all of the tests are
compliant with the Rack SPEC.
2023-07-28 14:23:25 -04:00
..
abstract_controller Replace all occurrences of '<tt>(\w+::\w+)</tt>' with '+$1+' 2023-05-25 06:52:32 +09:00
action_controller Avoid creating match object when checking for illegal header value 2023-06-27 09:40:35 -03:00
action_dispatch Make ActionDispatch::SSL compatible with Rack 3.0 2023-07-28 14:23:25 -04:00
action_pack Replace all occurrences of '<tt>(\w+::\w+)</tt>' with '+$1+' 2023-05-25 06:52:32 +09:00
abstract_controller.rb Add {Abstract,Action}Controller.deprecator 2022-10-27 16:20:53 -05:00
action_controller.rb Add documentation intros for Action Controller and Action Dispatch 2023-04-02 17:34:35 +02:00
action_dispatch.rb Define constants for headers in ActionDispatch::Constants to avoid conditional checks around multiple classes 2023-07-27 15:20:33 -07:00
action_pack.rb Remove Copyright years (#47467) 2023-02-23 11:38:16 +01:00