Skip to content

Commit 86685ae

Browse files
committed
Revert "Fix conversion from unsigned char to char"
This reverts commit bc50ba4.
1 parent 9877773 commit 86685ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sapi/cgi/cgi_main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1818,7 +1818,7 @@ int main(int argc, char *argv[])
18181818

18191819
if((query_string = getenv("QUERY_STRING")) != NULL && strchr(query_string, '=') == NULL) {
18201820
/* we've got query string that has no = - apache CGI will pass it to command line */
1821-
char *p;
1821+
unsigned char *p;
18221822
decoded_query_string = strdup(query_string);
18231823
php_url_decode(decoded_query_string, strlen(decoded_query_string));
18241824
for (p = decoded_query_string; *p && *p <= ' '; p++) {

0 commit comments

Comments
 (0)