Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Commit

Permalink
patch
Browse files Browse the repository at this point in the history
  • Loading branch information
rez1dent3 committed Sep 7, 2017
1 parent e9895a9 commit b386cf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Middleware/IfIndex.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public function handle(Request $request, \Closure $next)

if (strpos($uri, $name) !== false)
{
$path = $request->path();
$path = '/' . ltrim($request->path(), '/');
$query = $request->getQueryString();

if (null !== $query)
Expand Down

0 comments on commit b386cf3

Please sign in to comment.