Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixed lacking forwardslash

  • Loading branch information...
commit cea2801f1c9d215b8db8e113c696d1274067c1ec 1 parent f5275cd
Sebastian Bengtegård authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  cloudlib/core/Router.php
2  cloudlib/core/Router.php
View
@@ -132,7 +132,7 @@ public function parse(Cloudlib $app)
$method = ($app->request->isHead()) ? 'GET' : $app->request->method;
// Strip the base uri from the requested uri
- $request = preg_replace('/\/{2,}/', '/', preg_replace('#' . $app->base . '#', '', $app->request->uri, 1));
+ $request = preg_replace('/\/{2,}/', '/', '/' . preg_replace('#' . $app->base . '#', '', $app->request->uri, 1));
foreach($this->routes as $route => $responses)
{
Please sign in to comment.
Something went wrong with that request. Please try again.