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.
1 parent 8608e9c commit 63ff2e0Copy full SHA for 63ff2e0
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