cvs: php4 /sapi/apache2filter sapi_apache2.c
| From: | Ilia Alshanetsky | Date: | Wed, 30 Apr 2003 00:47:08 +0000 |
| Subject: | cvs: php4 /sapi/apache2filter sapi_apache2.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-20592@lists.php.net to get a copy of this message | ||
iliaa Tue Apr 29 20:47:08 2003 EDT
Modified files:
/php4/sapi/apache2filter sapi_apache2.c
Log:
Fixed bug #23417 (compile failure in apache2filter sapi).
Index: php4/sapi/apache2filter/sapi_apache2.c
diff -u php4/sapi/apache2filter/sapi_apache2.c:1.109 php4/sapi/apache2filter/sapi_apache2.c:1.110
--- php4/sapi/apache2filter/sapi_apache2.c:1.109 Wed Apr 16 19:31:22 2003
+++ php4/sapi/apache2filter/sapi_apache2.c Tue Apr 29 20:47:08 2003
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: sapi_apache2.c,v 1.109 2003/04/16 23:31:22 iliaa Exp $ */
+/* $Id: sapi_apache2.c,v 1.110 2003/04/30 00:47:08 iliaa Exp $ */
#include <fcntl.h>
@@ -396,7 +396,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 {