Skip to content

Commit 7009edb

Browse files
committed
No need for mb
1 parent 39be708 commit 7009edb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Proxy.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ public static function createFromGlobals(): Proxy
8787
$pos = strpos($uri, $script);
8888

8989
if ($pos !== false) {
90-
$url = substr($uri, $pos + mb_strlen($script) + 1);
90+
$url = substr($uri, $pos + strlen($script) + 1);
9191
$proxy->setRequestUrl($url)->removeRequestHeader('host');
9292
}
9393
}

0 commit comments

Comments
 (0)