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 9877773 commit 86685aeCopy full SHA for 86685ae
sapi/cgi/cgi_main.c
@@ -1818,7 +1818,7 @@ int main(int argc, char *argv[])
1818
1819
if((query_string = getenv("QUERY_STRING")) != NULL && strchr(query_string, '=') == NULL) {
1820
/* we've got query string that has no = - apache CGI will pass it to command line */
1821
- char *p;
+ unsigned char *p;
1822
decoded_query_string = strdup(query_string);
1823
php_url_decode(decoded_query_string, strlen(decoded_query_string));
1824
for (p = decoded_query_string; *p && *p <= ' '; p++) {
0 commit comments