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
Why there is no pattern to match dynamic paths?
Something like this: https://website.com/search/:a-lot-of-filters
to match all variants of url https://website.com/search/filter-1/filter-2/filter-8/filter-n.
I want to parse this string by myself with parse_url, without using patterns after search.
In symfony i can do the following: (new RouteCollection)->add("search", new Route("/search/{any}", ["controller" => AppBundle:Default:search"], ["any" => ".+"]));
The text was updated successfully, but these errors were encountered:
ddv88
changed the title
Match anything with slashes.
Match everything with slashes.
Sep 27, 2017
ddv88
changed the title
Match everything with slashes.
Raw url with slashes.
Sep 27, 2017
Why there is no pattern to match dynamic paths?
Something like this:
https://website.com/search/:a-lot-of-filters
to match all variants of url
https://website.com/search/filter-1/filter-2/filter-8/filter-n
.I want to parse this string by myself with parse_url, without using patterns after search.
In symfony i can do the following:
(new RouteCollection)->add("search", new Route("/search/{any}", ["controller" => AppBundle:Default:search"], ["any" => ".+"]));
The text was updated successfully, but these errors were encountered: