|
|
|
@ -429,6 +429,7 @@ static void php_apache_request_ctor(request_rec *r, php_struct *ctx TSRMLS_DC) |
|
|
|
if (!PG(safe_mode)) { |
|
|
|
auth = apr_table_get(r->headers_in, "Authorization"); |
|
|
|
php_handle_auth_data(auth TSRMLS_CC); |
|
|
|
ctx->r->user = apr_pstrdup(ctx->r->pool, SG(request_info).auth_user); |
|
|
|
} else { |
|
|
|
SG(request_info).auth_user = NULL; |
|
|
|
SG(request_info).auth_password = NULL; |
|
|
|
|