summaryrefslogtreecommitdiff
path: root/sapi/nsapi/nsapi.c
diff options
context:
space:
mode:
authorUwe Schindler <thetaphi@php.net>2004-09-15 21:27:10 +0000
committerUwe Schindler <thetaphi@php.net>2004-09-15 21:27:10 +0000
commit8e3e81256fd6e9f56637a05715f44a07487b638c (patch)
tree8eb9f3a2609ce729205933d6d7fcfe3d3f79677b /sapi/nsapi/nsapi.c
parent24ec8acb2d8c1624babc13cf6ea03090829adb4d (diff)
downloadphp-git-8e3e81256fd6e9f56637a05715f44a07487b638c.tar.gz
Fixed bug #29805 (HTTP Authentication Issues)
Diffstat (limited to 'sapi/nsapi/nsapi.c')
-rw-r--r--sapi/nsapi/nsapi.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sapi/nsapi/nsapi.c b/sapi/nsapi/nsapi.c
index 84a3c1bfaa..278980a573 100644
--- a/sapi/nsapi/nsapi.c
+++ b/sapi/nsapi/nsapi.c
@@ -933,6 +933,8 @@ int NSAPI_PUBLIC php5_execute(pblock *pb, Session *sn, Request *rq)
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);
file_handle.type = ZEND_HANDLE_FILENAME;