jani Thu Jul 31 00:48:49 2008 UTC
Modified files: (Branch: PHP_5_3)
/php-src/sapi/isapi php5isapi.c
Log:
MFH:- Fixed bug #45568 (ISAPI does not property clear auth_digest in header).
http://cvs.php.net/viewvc.cgi/php-src/sapi/isapi/php5isapi.c?r1=1.8.2.2.2.3.2.2&r2=1.8.2.2.2.3.2.3&diff_format=u
Index: php-src/sapi/isapi/php5isapi.c
diff -u php-src/sapi/isapi/php5isapi.c:1.8.2.2.2.3.2.2
php-src/sapi/isapi/php5isapi.c:1.8.2.2.2.3.2.3
--- php-src/sapi/isapi/php5isapi.c:1.8.2.2.2.3.2.2 Tue Mar 18 22:23:21 2008
+++ php-src/sapi/isapi/php5isapi.c Thu Jul 31 00:48:48 2008
@@ -16,7 +16,7 @@
| Ben Mansell <[EMAIL PROTECTED]> (Zeus Support)
|
+----------------------------------------------------------------------+
*/
-/* $Id: php5isapi.c,v 1.8.2.2.2.3.2.2 2008/03/18 22:23:21 rasmus Exp $ */
+/* $Id: php5isapi.c,v 1.8.2.2.2.3.2.3 2008/07/31 00:48:48 jani Exp $ */
#include "php.h"
#include <httpext.h>
@@ -712,6 +712,7 @@
case SF_NOTIFY_PREPROC_HEADERS:
SG(request_info).auth_user = NULL;
SG(request_info).auth_password = NULL;
+ SG(request_info).auth_digest = NULL;
break;
case SF_NOTIFY_AUTHENTICATION: {
char *auth_user = ((HTTP_FILTER_AUTHENT *)
pvNotification)->pszUser;
@@ -746,7 +747,7 @@
SG(request_info).content_length = lpECB->cbTotalBytes;
SG(sapi_headers).http_response_code = 200; /* I think dwHttpStatusCode
is invalid at this stage -RL */
if (!bFilterLoaded) { /* we don't have valid ISAPI Filter information */
- SG(request_info).auth_user = SG(request_info).auth_password =
NULL;
+ SG(request_info).auth_user = SG(request_info).auth_password =
SG(request_info).auth_digest = NULL;
}
#ifdef WITH_ZEUS
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php