Skip to content
This repository was archived by the owner on Aug 13, 2023. It is now read-only.

Commit ffc66ca

Browse files
committed
shield a point
1 parent 456d74d commit ffc66ca

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/Router/Router.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@ protected function match($route)
171171
}
172172

173173
$path = $this->optional($route->route());
174+
$path = str_replace('.', '\\.', $path);
174175
$path = preg_replace_callback('~\<(.*?)\>~u', function ($matches) use (&$route)
175176
{
176177
list ($match, $newRegExp) = $this->tokenizer($matches[1]);

0 commit comments

Comments
 (0)