We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 64119b2 commit 0890106Copy full SHA for 0890106
src/Splashsky/Router.php
@@ -153,8 +153,8 @@ private static function tokenize(string $uri)
153
public static function run(string $basePath = '', bool $multimatch = false)
154
{
155
$basePath = rtrim($basePath, '/');
156
- $uri = parse_url($_SERVER['REQUEST_URI'])['path'];
157
$method = $_SERVER['REQUEST_METHOD'];
+ $uri = parse_url($_SERVER['REQUEST_URI'])['path'];
158
$path = urldecode(rtrim($uri, '/'));
159
160
// If the path is empty (no slash in URI) place one to satisfy the root route ('/')
0 commit comments