We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8608e9c + 63ff2e0 commit 0719b67Copy full SHA for 0719b67
1 file changed
src/Util/UrlEncoder.php
@@ -56,7 +56,7 @@ public static function unescapeAndEncode(string $uri): string
56
}
57
58
59
- if (\ord($code) < 128) {
+ if (\strlen($code) === 1 && \ord($code) < 128) {
60
$result .= self::ENCODE_CACHE[\ord($code)];
61
continue;
62
0 commit comments