Skip to content

Commit

Permalink
remove check
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Dec 4, 2016
1 parent 3dbad28 commit b11fbcc
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/Illuminate/Routing/Matching/UriValidator.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,6 @@ public function matches(Route $route, Request $request)
{
$path = $request->path() == '/' ? '/' : '/'.$request->path();

if ('' !== $route->getCompiled()->getStaticPrefix() &&
0 !== strpos($path, $route->getCompiled()->getStaticPrefix())) {
return false;
}

return preg_match($route->getCompiled()->getRegex(), rawurldecode($path));
}
}

0 comments on commit b11fbcc

Please sign in to comment.