Closed
Description
Symfony version(s) affected: 4.1.1
Description
We have a URL with a variable that will contain a dot, but that doesn't work under Symfony 4.1.1 any more when there is another route that has a host
requirement set.
How to reproduce
- Put the following in
routes.yaml
:
foo:
path: /foo
host: 'foo.example.com'
controller: foo_controller
bar:
path: /bar/{baz}
controller: baz_controller
- Try to visit
/bar/abc.123
When you remove host: 'foo.example.com'
from the foo
route it does work.