Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Fix for URIs with a query string not matching #3712

Closed
wants to merge 2 commits into
from
Jump to file or symbol
Failed to load files and symbols.
+1 −1
Split
@@ -136,7 +136,7 @@ public function match(Request $request, $pathOffset = null)
$uri = $request->getUri();
$pathLength = strlen($uri->getPath());
- if ($this->mayTerminate && $nextOffset === $pathLength && trim($uri->getQuery()) == "") {
+ if ($this->mayTerminate && $nextOffset === $pathLength && trim($uri->getQuery()) == '') {
return $match;
}