thetaphi Wed Sep 15 17:28:30 2004 EDT Modified files: /php-src/sapi/nsapi nsapi.c Log: Fixed bug #29805 (HTTP Authentication Issues) http://cvs.php.net/diff.php/php-src/sapi/nsapi/nsapi.c?r1=1.63&r2=1.64&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.64 --- 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:28:30 2004 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: nsapi.c,v 1.63 2004/06/26 10:30:07 thetaphi Exp $ */ +/* $Id: nsapi.c,v 1.64 2004/09/15 21:28:30 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.64 $"); 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