Patch php-urlencode-asterisk-0x2a for URL related Bug #69409
Patch version 2015-04-09 16:36 UTC
Return to Bug #69409 |
Download this patch
Patch Revisions:
Developer: rainer-phpbugs@7val.com
--- a/php-5.6.7/ext/standard/url.c
+++ b/php-5.6.7/ext/standard/url.c
@@ -497,7 +497,7 @@ PHPAPI char *php_url_encode(char const *s, int len, int *new_length)
if (c == ' ') {
*to++ = '+';
#ifndef CHARSET_EBCDIC
- } else if ((c < '0' && c != '-' && c != '.') ||
+ } else if ((c < '0' && c != '-' && c != '.' && c != '*') ||
(c < 'A' && c > '9') ||
(c > 'Z' && c < 'a' && c != '_') ||
(c > 'z')) {
|