tony2001 Wed Feb 21 08:08:47 2007 UTC Modified files: /php-src/sapi/cgi cgi_main.c Log: fix typo http://cvs.php.net/viewvc.cgi/php-src/sapi/cgi/cgi_main.c?r1=1.314&r2=1.315&diff_format=u Index: php-src/sapi/cgi/cgi_main.c diff -u php-src/sapi/cgi/cgi_main.c:1.314 php-src/sapi/cgi/cgi_main.c:1.315 --- php-src/sapi/cgi/cgi_main.c:1.314 Tue Feb 20 19:19:14 2007 +++ php-src/sapi/cgi/cgi_main.c Wed Feb 21 08:08:47 2007 @@ -21,7 +21,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: cgi_main.c,v 1.314 2007/02/20 19:19:14 tony2001 Exp $ */ +/* $Id: cgi_main.c,v 1.315 2007/02/21 08:08:47 tony2001 Exp $ */ #include "php.h" #include "php_globals.h" @@ -934,7 +934,7 @@ SG(request_info).request_method = sapi_cgibin_getenv("REQUEST_METHOD", sizeof("REQUEST_METHOD")-1 TSRMLS_CC); /* FIXME - Work out proto_num here */ - SG(request_info).query_string = sapi_cgibin_getenv("QUERY_STRING", sizeof("REQUEST_METHOD")-1 TSRMLS_CC); + SG(request_info).query_string = sapi_cgibin_getenv("QUERY_STRING", sizeof("QUERY_STRING")-1 TSRMLS_CC); /* some server configurations allow '..' to slip through in the translated path. We'll just refuse to handle such a path. */ if (script_path_translated && !strstr(script_path_translated, "..")) {
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php