jani            Thu Jul 31 00:49:16 2008 UTC

  Modified files:              (Branch: PHP_5_2)
    /php-src    NEWS 
    /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/NEWS?r1=1.2027.2.547.2.1182&r2=1.2027.2.547.2.1183&diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.1182 php-src/NEWS:1.2027.2.547.2.1183
--- php-src/NEWS:1.2027.2.547.2.1182    Thu Jul 24 11:47:12 2008
+++ php-src/NEWS        Thu Jul 31 00:49:15 2008
@@ -14,6 +14,8 @@
 - Fixed a regression when using strip_tags() and < is within an attribute.
   (Scott)
 
+- Fixed bug #45568 (ISAPI doesn't property clear auth_digest in header).
+  (Patch by: navara at emclient dot com)
 - Fixed bug #45556 (Return value from callback isn't freed). (Felipe)
 - Fixed bug #45555 (Segfault with invalid non-string as 
   register_introspection_callback). (Christian Seiler)
http://cvs.php.net/viewvc.cgi/php-src/sapi/isapi/php5isapi.c?r1=1.8.2.2.2.4&r2=1.8.2.2.2.5&diff_format=u
Index: php-src/sapi/isapi/php5isapi.c
diff -u php-src/sapi/isapi/php5isapi.c:1.8.2.2.2.4 
php-src/sapi/isapi/php5isapi.c:1.8.2.2.2.5
--- php-src/sapi/isapi/php5isapi.c:1.8.2.2.2.4  Mon Dec 31 07:20:16 2007
+++ php-src/sapi/isapi/php5isapi.c      Thu Jul 31 00:49:16 2008
@@ -16,7 +16,7 @@
    |          Ben Mansell <[EMAIL PROTECTED]> (Zeus Support)                   
|
    +----------------------------------------------------------------------+
  */
-/* $Id: php5isapi.c,v 1.8.2.2.2.4 2007/12/31 07:20:16 sebastian Exp $ */
+/* $Id: php5isapi.c,v 1.8.2.2.2.5 2008/07/31 00:49:16 jani Exp $ */
 
 #include "php.h"
 #include <httpext.h>
@@ -711,6 +711,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;
@@ -745,7 +746,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

Reply via email to