mirror of
https://github.com/php/php-src.git
synced 2024-09-22 02:17:32 +00:00
Fixed bug #29805 (HTTP Authentication Issues)
This commit is contained in:
parent
37a66d6d3b
commit
5e1f396849
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user