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 14fcc81 commit 9d6bf82Copy full SHA for 9d6bf82
ext/standard/url.c
@@ -559,7 +559,7 @@ PHPAPI size_t php_url_decode(char *str, size_t len)
559
#ifndef CHARSET_EBCDIC
560
*dest = (char) php_htoi(data + 1);
561
#else
562
- *dest = os_toebcdic[(char) php_htoi(data + 1)];
+ *dest = os_toebcdic[(unsigned char) php_htoi(data + 1)];
563
#endif
564
data += 2;
565
len -= 2;
@@ -651,7 +651,7 @@ PHPAPI size_t php_raw_url_decode(char *str, size_t len)
651
652
653
654
655
656
657
0 commit comments