Closed sustmi closed 8 years ago
sorry, i was impatient to get this done. you are right, my "fix" did not fix your case. i now created #167 which i do hope will really fix it. can you have a look please?
Yes. I can confirm that this fixes my use case.
This issue follows rejected pull requests: https://github.com/symfony-cmf/Routing/pull/147 and https://github.com/symfony-cmf/Routing/pull/152 and is still not fixed even after merging: https://github.com/symfony-cmf/Routing/pull/163 (sorry for not commenting earlier).
If you pass
//test
as an$url
parameter intoChainRouter::match()
method and you haveRequestMatcherInterface
in the chain, it tries to match it as pathinfo/
with hosttest
instead of matching as pathinfo//test
.See this failing test: https://github.com/symfony-cmf/Routing/compare/master...sustmi:test-for-matching-double-slash?expand=1