1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionpack/CHANGELOG.md
Sam Bostock c56abcd6a9
Stop capturing subdomain in HostAuthorization
This also extracts a constant, giving a name to a "magic regex".
2022-02-22 13:00:24 -05:00

33 lines
1.1 KiB
Markdown

* Use non-capturing group for subdomain matching in `ActionDispatch::HostAuthorization`
Since we do nothing with the captured subdomain group, we can use a non-capturing group instead.
*Sam Bostock*
* Fix `ActionController::Live` to copy the IsolatedExecutionState in the ephemeral thread.
Since its inception `ActionController::Live` has been copying thread local variables
to keep things such as `CurrentAttributes` set from middlewares working in the controller action.
With the introduction of `IsolatedExecutionState` in 7.0, some of that global state was lost in
`ActionController::Live` controllers.
*Jean Boussier*
* Fix setting `trailing_slash: true` in route definition.
```ruby
get '/test' => "test#index", as: :test, trailing_slash: true
test_path() # => "/test/"
```
*Jean Boussier*
* Make `Session#merge!` stringify keys.
Previously `Session#update` would, but `merge!` wouldn't.
*Drew Bragg*
Please check [7-0-stable](https://github.com/rails/rails/blob/7-0-stable/actionpack/CHANGELOG.md) for previous changes.