Skip to content

Commit

Permalink
No need for mb
Browse files Browse the repository at this point in the history
  • Loading branch information
jrabausch committed Apr 24, 2021
1 parent 39be708 commit 7009edb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Proxy.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public static function createFromGlobals(): Proxy
$pos = strpos($uri, $script);

if ($pos !== false) {
$url = substr($uri, $pos + mb_strlen($script) + 1);
$url = substr($uri, $pos + strlen($script) + 1);
$proxy->setRequestUrl($url)->removeRequestHeader('host');
}
}
Expand Down

0 comments on commit 7009edb

Please sign in to comment.