moriyoshi Fri Mar 28 12:55:08 2003 EDT Modified files: (Branch: PHP_4_3) /php4/sapi/cgi cgi_main.c Log: MFH(r-1.221): fixed bug #22773 Index: php4/sapi/cgi/cgi_main.c diff -u php4/sapi/cgi/cgi_main.c:1.190.2.19 php4/sapi/cgi/cgi_main.c:1.190.2.20 --- php4/sapi/cgi/cgi_main.c:1.190.2.19 Thu Mar 27 12:57:58 2003 +++ php4/sapi/cgi/cgi_main.c Fri Mar 28 12:55:08 2003 @@ -20,7 +20,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: cgi_main.c,v 1.190.2.19 2003/03/27 17:57:58 shane Exp $ */ +/* $Id: cgi_main.c,v 1.190.2.20 2003/03/28 17:55:08 moriyoshi Exp $ */ #include "php.h" #include "php_globals.h" @@ -787,8 +787,8 @@ } else { /* make sure path_info/translated are empty */ script_path_translated = _sapi_cgibin_putenv("SCRIPT_FILENAME",script_path_translated TSRMLS_CC); - _sapi_cgibin_putenv("PATH_INFO",NULL TSRMLS_CC); - _sapi_cgibin_putenv("PATH_TRANSLATED",NULL TSRMLS_CC); + _sapi_cgibin_putenv("PATH_INFO", "" TSRMLS_CC); + _sapi_cgibin_putenv("PATH_TRANSLATED", "" TSRMLS_CC); } SG(request_info).request_uri = sapi_cgibin_getenv("SCRIPT_NAME",0 TSRMLS_CC); } else {
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php