From: Uwe Schindler Date: Tue, 21 Sep 2004 22:00:39 +0000 (+0000) Subject: Fixed bug #29805 (HTTP Authentication Issues) X-Git-Tag: php-4.3.10RC1~79 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=97dbc366c71bfdccc98dfba31fd75eeb30634aab;p=php Fixed bug #29805 (HTTP Authentication Issues) --- diff --git a/NEWS b/NEWS index 52de7bddab..c2ddf16e96 100644 --- a/NEWS +++ b/NEWS @@ -1,5 +1,8 @@ PHP 4 NEWS ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| +?? ??? 2004, Version 4.3.10 +- Fixed bug #29805 (HTTP Authentication Issues). (Uwe Schindler) + 22 Sep 2004, Version 4.3.9 - GPC input processing fixes (Stefano Di Paola, Rasmus, Stefan) - Implemented periodic PCRE compiled regexp cache cleanup, to avoid memory diff --git a/sapi/nsapi/nsapi.c b/sapi/nsapi/nsapi.c index 870a386bac..add1c76965 100644 --- a/sapi/nsapi/nsapi.c +++ b/sapi/nsapi/nsapi.c @@ -935,6 +935,8 @@ int NSAPI_PUBLIC php4_execute(pblock *pb, Session *sn, Request *rq) nsapi_php_ini_entries(NSLS_C TSRMLS_CC); + if (!PG(safe_mode)) php_handle_auth_data(pblock_findval("authorization", rq->headers) TSRMLS_CC); + file_handle.type = ZEND_HANDLE_FILENAME; file_handle.filename = SG(request_info).path_translated; file_handle.free_filename = 0;