Skip to content

Commit 33c9ae5

Browse files
authored
fix parsing query parameters
1 parent f0aae4e commit 33c9ae5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Parser/ParserFiles.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ public function parse()
7777
$route = preg_replace('/([\'"][\n\s]*\.[\n\s]*\$(.*?)[\n\s]*\.[\n\s]*[\'"])/', '{$val}', $route);
7878
$route = preg_replace('/([\'"][\n\s]*\.[\n\s]*\$(.*))[\'"]*/', '{$val}', $route);
7979
$route = preg_replace('/([\'"])/', '', $route);
80+
$route = preg_replace('/\?(.*)/', '', $route);
8081

8182
$url = ltrim($route, '/');
8283
$url = trim(preg_replace('/\s+/', ' ', $url));

0 commit comments

Comments
 (0)