cvs: php4 /sapi/apache2handler sapi_apache2.c

From: Date: Mon, 17 Mar 2003 21:28:41 +0000
Subject: cvs: php4 /sapi/apache2handler sapi_apache2.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-19649@lists.php.net to get a copy of this message
ianh Mon Mar 17 16:28:41 2003 EDT Modified files: /php4/sapi/apache2handler sapi_apache2.c Log: PR#22672 - User not logged under Apache2 patch provided by Andrew Bradford. Index: php4/sapi/apache2handler/sapi_apache2.c diff -u php4/sapi/apache2handler/sapi_apache2.c:1.5 php4/sapi/apache2handler/sapi_apache2.c:1.6 --- php4/sapi/apache2handler/sapi_apache2.c:1.5 Fri Mar 7 08:45:33 2003 +++ php4/sapi/apache2handler/sapi_apache2.c Mon Mar 17 16:28:41 2003 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: sapi_apache2.c,v 1.5 2003/03/07 13:45:33 iliaa Exp $ */ +/* $Id: sapi_apache2.c,v 1.6 2003/03/17 21:28:41 ianh Exp $ */ #include <fcntl.h> @@ -429,6 +429,7 @@ if (!PG(safe_mode)) { auth = apr_table_get(r->headers_in, "Authorization"); php_handle_auth_data(auth TSRMLS_CC); + ctx->r->user = apr_pstrdup(ctx->r->pool, SG(request_info).auth_user); } else { SG(request_info).auth_user = NULL; SG(request_info).auth_password = NULL;

« previous php.cvs (#19649) next »