cvs: php4(PHP_4_3) /sapi/apache2filter sapi_apache2.c

From: Date: Wed, 30 Apr 2003 00:47:21 +0000
Subject: cvs: php4(PHP_4_3) /sapi/apache2filter sapi_apache2.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-20593@lists.php.net to get a copy of this message
iliaa Tue Apr 29 20:47:21 2003 EDT Modified files: (Branch: PHP_4_3) /php4/sapi/apache2filter sapi_apache2.c Log: MFH Index: php4/sapi/apache2filter/sapi_apache2.c diff -u php4/sapi/apache2filter/sapi_apache2.c:1.91.2.8 php4/sapi/apache2filter/sapi_apache2.c:1.91.2.9 --- php4/sapi/apache2filter/sapi_apache2.c:1.91.2.8 Wed Apr 16 19:31:39 2003 +++ php4/sapi/apache2filter/sapi_apache2.c Tue Apr 29 20:47:20 2003 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: sapi_apache2.c,v 1.91.2.8 2003/04/16 23:31:39 iliaa Exp $ */ +/* $Id: sapi_apache2.c,v 1.91.2.9 2003/04/30 00:47:20 iliaa Exp $ */ #include <fcntl.h> @@ -388,7 +388,7 @@ 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 {

« previous php.cvs (#20593) next »