1
0
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:
Ilia Alshanetsky
2003-04-30 00:47:08 +00:00
parent 35f8be6bcc
commit 11d9dd93b9
+1 -1
View File
@@ -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 {