Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c85fd08

Browse files
committed
[FrameworkBundle] fixed _internal route when the path contains dots
1 parent 0753f86 commit c85fd08

File tree

1 file changed

+2
-0
lines changed
  • src/Symfony/Bundle/FrameworkBundle/Resources/config/routing

1 file changed

+2
-0
lines changed

src/Symfony/Bundle/FrameworkBundle/Resources/config/routing/internal.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,7 @@
66

77
<route id="_internal" pattern="/{controller}/{path}.{_format}">
88
<default key="_controller">FrameworkBundle:Internal:index</default>
9+
<requirement key="path">.+</requirement>
10+
<requirement key="_format">[^.]+</requirement>
911
</route>
1012
</routes>

0 commit comments

Comments
 (0)