thetaphi Wed Sep 15 17:27:11 2004 EDT Modified files: (Branch: PHP_5_0) /php-src NEWS /php-src/sapi/nsapi nsapi.c Log: Fixed bug #29805 (HTTP Authentication Issues) http://cvs.php.net/diff.php/php-src/NEWS?r1=1.1760.2.73&r2=1.1760.2.74&ty=u Index: php-src/NEWS diff -u php-src/NEWS:1.1760.2.73 php-src/NEWS:1.1760.2.74 --- php-src/NEWS:1.1760.2.73 Wed Sep 15 07:51:56 2004 +++ php-src/NEWS Wed Sep 15 17:27:10 2004 @@ -30,6 +30,7 @@ - Fixed bug #29821 (Fixed possible crashes in convert_uudecode() on invalid data). (Ilia) - Fixed bug #29808 (array_count_values() breaks with numeric strings). (Ilia) +- Fixed bug #29805 (HTTP Authentication Issues). (Uwe Schindler) - Fixed bug #29795 (SegFault with Soap and Amazon's Web Services). (Dmitry) - Fixed bug #29737 (ip2long should return -1 if IP is 255.255.255.255 and FALSE on error). (Tony) http://cvs.php.net/diff.php/php-src/sapi/nsapi/nsapi.c?r1=1.63&r2=1.63.2.1&ty=u Index: php-src/sapi/nsapi/nsapi.c diff -u php-src/sapi/nsapi/nsapi.c:1.63 php-src/sapi/nsapi/nsapi.c:1.63.2.1 --- php-src/sapi/nsapi/nsapi.c:1.63 Sat Jun 26 06:30:07 2004 +++ php-src/sapi/nsapi/nsapi.c Wed Sep 15 17:27:10 2004 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: nsapi.c,v 1.63 2004/06/26 10:30:07 thetaphi Exp $ */ +/* $Id: nsapi.c,v 1.63.2.1 2004/09/15 21:27:10 thetaphi Exp $ */ /* * PHP includes @@ -310,7 +310,7 @@ PHP_MINFO_FUNCTION(nsapi) { php_info_print_table_start(); - php_info_print_table_row(2, "NSAPI Module Revision", "$Revision: 1.63 $"); + php_info_print_table_row(2, "NSAPI Module Revision", "$Revision: 1.63.2.1 $"); php_info_print_table_row(2, "Server Software", system_version()); php_info_print_table_row(2, "Sub-requests with nsapi_virtual()", (nsapi_servact_service)?((zend_ini_long("zlib.output_compression", sizeof("zlib.output_compression"), 0))?"not supported with zlib.output_compression":"enabled"):"not supported on this platform" ); @@ -932,6 +932,8 @@ SG(request_info).content_type = nsapi_strdup(content_type); SG(request_info).content_length = (content_length == NULL) ? 0 : strtoul(content_length, 0, 0); SG(sapi_headers).http_response_code = (error_directive) ? rq->status_num : 200; + + if (!PG(safe_mode)) php_handle_auth_data(pblock_findval("authorization", rq->headers) TSRMLS_CC); nsapi_php_ini_entries(NSLS_C TSRMLS_CC);
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php