mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Merge pull request #43461 from ignacio-chiazzo/update-changelog
Update missing actionpack CHANGELOG entry for wildcard route fix
This commit is contained in:
commit
ea1ca5d9ed
1 changed files with 19 additions and 0 deletions
|
@ -1,3 +1,22 @@
|
|||
* Allow multiline to be passed in routes when using wildcard segments.
|
||||
|
||||
Previously routes with newlines weren't detected when using wildcard segments, returning
|
||||
a `No route matches` error.
|
||||
After this change, routes with newlines are detected on wildcard segments. Example
|
||||
|
||||
```ruby
|
||||
draw do
|
||||
get "/wildcard/*wildcard_segment", to: SimpleApp.new("foo#index"), as: :wildcard
|
||||
end
|
||||
|
||||
# After the change, the path matches.
|
||||
assert_equal "/wildcard/a%0Anewline", url_helpers.wildcard_path(wildcard_segment: "a\nnewline")
|
||||
```
|
||||
|
||||
Fixes #39103
|
||||
|
||||
*Ignacio Chiazzo*
|
||||
|
||||
* Treat html suffix in controller translation.
|
||||
|
||||
*Rui Onodera*, *Gavin Miller*
|
||||
|
|
Loading…
Reference in a new issue