exact match for paths
This commit is contained in:
parent
7c57aab44e
commit
7c03a50947
@ -212,7 +212,7 @@ class URLMapper
|
|||||||
array($pr, 'toPattern'),
|
array($pr, 'toPattern'),
|
||||||
$path);
|
$path);
|
||||||
|
|
||||||
$regex = '#' . str_replace('#', '\#', $regex) . '#';
|
$regex = '#^' . str_replace('#', '\#', $regex) . '$#';
|
||||||
|
|
||||||
return $regex;
|
return $regex;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user