From: Uwe Schindler Date: Wed, 15 Sep 2004 21:28:30 +0000 (+0000) Subject: Fixed bug #29805 (HTTP Authentication Issues) X-Git-Tag: PRE_NEW_VM_GEN_PATCH~300 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5e1f396849edad8519997a593399787a3b3e8894;p=php Fixed bug #29805 (HTTP Authentication Issues) --- diff --git a/sapi/nsapi/nsapi.c b/sapi/nsapi/nsapi.c index 84a3c1bfaa..d68bd321b5 100644 --- a/sapi/nsapi/nsapi.c +++ b/sapi/nsapi/nsapi.c @@ -932,6 +932,8 @@ int NSAPI_PUBLIC php5_execute(pblock *pb, Session *sn, Request *rq) 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);