Commit:    86685aefabb70a3c24d1aedd8551019ebf24ed3b
Author:    David Soria Parra <d...@php.net>         Mon, 29 Apr 2013 02:26:55 
+0200
Parents:   9877773438a46385710fc3e1314fb7a956da09b6
Branches:  PHP-5.5 master

Link:       
http://git.php.net/?p=php-src.git;a=commitdiff;h=86685aefabb70a3c24d1aedd8551019ebf24ed3b

Log:
Revert "Fix conversion from unsigned char to char"

This reverts commit bc50ba4bf971c62a1ff5b915a0c9f890b04c1087.

Changed paths:
  M  sapi/cgi/cgi_main.c


Diff:
diff --git a/sapi/cgi/cgi_main.c b/sapi/cgi/cgi_main.c
index abe5e6b..9e6b74a 100644
--- a/sapi/cgi/cgi_main.c
+++ b/sapi/cgi/cgi_main.c
@@ -1818,7 +1818,7 @@ int main(int argc, char *argv[])
 
        if((query_string = getenv("QUERY_STRING")) != NULL && 
strchr(query_string, '=') == NULL) {
                /* we've got query string that has no = - apache CGI will pass 
it to command line */
-               char *p;
+               unsigned char *p;
                decoded_query_string = strdup(query_string);
                php_url_decode(decoded_query_string, 
strlen(decoded_query_string));
                for (p = decoded_query_string; *p &&  *p <= ' '; p++) {


--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to