Fixed bug #29805 (HTTP Authentication Issues)

This commit is contained in:
Uwe Schindler 2004-09-15 21:28:30 +00:00
parent 37a66d6d3b
commit 5e1f396849

View File

@ -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);