You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
…FC3986 (jameshalsall)
This PR was submitted for the 2.7 branch but it was merged into the 3.2-dev branch instead (closes#19639).
Discussion
----------
[Routing] Generate URLs in compliance with PHP_QUERY_RFC3986
| Q | A
| ------------- | ---
| Branch? | 2.7
| Bug fix? | yes
| New feature? | no
| BC breaks? | no?
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | #19625
| License | MIT
| Doc PR |
Commits
-------
ce724e2 [Routing] Generate URLs in compliance with PHP_QUERY_RFC3986
UrlGenerator doesn't use
http_build_query
fourth parameter, thus encoding spaces as+
because of the application/x-www-form-urlencoded media type.As route extra parameters aren't used in a form context I think
PHP_QUERY_RFC3986
should be used.Twig does that already.
The text was updated successfully, but these errors were encountered: