From 11d9dd93b97b9f336d76dabe704decd7c0546226 Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Wed, 30 Apr 2003 00:47:08 +0000 Subject: [PATCH] Fixed bug #23417 (compile failure in apache2filter sapi). --- sapi/apache2filter/sapi_apache2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sapi/apache2filter/sapi_apache2.c b/sapi/apache2filter/sapi_apache2.c index 5188569640..f1f0e9365d 100644 --- a/sapi/apache2filter/sapi_apache2.c +++ b/sapi/apache2filter/sapi_apache2.c @@ -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 { -- 2.50.1