Closed webhdx closed 6 years ago
are you sure about your route definition ? It does not have any url
placeholder
Sorry, copy paste mistake. Fixed.
Looks like it was an issue on my side - even though slashes are not escaped SF is properly resolving route and parameters. Sorry for the hassle.
Looks like due to this change: https://github.com/FriendsOfSymfony/FOSJsRoutingBundle/blob/master/Resources/js/router.js#L216
You are not longer able to generate proper route URL if route parameter is URL encoded string: route:
example code:
it generates
http://localhost/lookup/http%3A//example.com/
instead ofhttp://localhost/lookup/http%3A%2F%2Fexample.com
which leads to 404 as Symfony is not able to match the route.