git.gnu.io has moved to IP address 209.51.188.249 -- please double check where you are logging in.

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

exact match for paths

parent 7c57aab4
......@@ -212,7 +212,7 @@ class URLMapper
array($pr, 'toPattern'),
$path);
$regex = '#' . str_replace('#', '\#', $regex) . '#';
$regex = '#^' . str_replace('#', '\#', $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