mirror of
https://github.com/php/php-src.git
synced 2026-04-29 19:23:22 +02:00
Fixed bug #23417 (compile failure in apache2filter sapi).
This commit is contained in:
@@ -396,7 +396,7 @@ static void php_apache_request_ctor(ap_filter_t *f, php_struct *ctx TSRMLS_DC)
|
||||
apr_table_unset(f->r->headers_out, "Expires");
|
||||
apr_table_unset(f->r->headers_out, "ETag");
|
||||
apr_table_unset(f->r->headers_in, "Connection");
|
||||
if (!PG(safe_mode) || (PG(safe_mode) && !ap_auth_type(r))) {
|
||||
if (!PG(safe_mode) || (PG(safe_mode) && !ap_auth_type(f->r))) {
|
||||
auth = apr_table_get(f->r->headers_in, "Authorization");
|
||||
php_handle_auth_data(auth TSRMLS_CC);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user