- Issue created by @luca.vocella
- Merge request !91Update file RouteNormalizerRequestSubscriber.php â (Open) created by luca.vocella
By navigating a view path with contextual filters that allow multiple values the user is automatically redirected to the url encoded version
/books/horror+thriller => /books/horror%2bthriller
Please allow me to provide you with a simplified example. you will be able to reproduce the behavior by creating a new view.
- Create a view
- Add a contextual filter and set the option to allow multiple values. This allow to specify multiple ids by separating them using + (E.G. /books/horror+thriller)
- Apply the patch/fix here ð Routematch parameters with multiple values return space instead of + Needs work
The issue is due to the php urldecode function. The RouteNormalizerRequestSubscriber::onKernelRequestRedirect cause the redirect even if is not needed.
Replace urldecode with rawurldecode
Active
1.8
Code
Involves, uses, or integrates with views. In Drupal 8 core, use the âVDCâ tag instead.