Commit 7c03a509 authored by Evan Prodromou's avatar Evan Prodromou

exact match for paths

parent 7c57aab4
...@@ -212,7 +212,7 @@ class URLMapper ...@@ -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;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment