httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ron...@locus.apache.org
Subject cvs commit: apache-1.3/src/modules/experimental mod_auth_digest.c
Date Mon, 20 Mar 2000 08:46:54 GMT
ronald      00/03/20 00:46:54

  Modified:    src/modules/experimental mod_auth_digest.c
  Log:
  fixed uri-comparison when request-uri isn't identical to uri in Authorization header (some
fields were not being initialized)
  
  Revision  Changes    Path
  1.15      +5 -1      apache-1.3/src/modules/experimental/mod_auth_digest.c
  
  Index: mod_auth_digest.c
  ===================================================================
  RCS file: /home/cvs/apache-1.3/src/modules/experimental/mod_auth_digest.c,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- mod_auth_digest.c	2000/03/02 05:01:02	1.14
  +++ mod_auth_digest.c	2000/03/20 08:46:54	1.15
  @@ -642,7 +642,7 @@
        "The algorithm used for the hash calculation"},
       {"AuthDigestDomain", set_uri_list, NULL, OR_AUTHCFG, ITERATE,
        "A list of URI's which belong to the same protection space as the current URI"},
  -    {NULL}
  +    {NULL, NULL, NULL, 0, 0, NULL}
   };
   
   
  @@ -1526,11 +1526,15 @@
   	dst->path = ap_pstrdup(r->pool, src->path);
   	ap_unescape_url(dst->path);
       }
  +    else
  +	dst->path = src->path;
   
       if (src->query && src->query[0] != '\0') {
   	dst->query = ap_pstrdup(r->pool, src->query);
   	ap_unescape_url(dst->query);
       }
  +    else
  +	dst->query = src->query;
   }
   
   /* These functions return 0 if client is OK, and proper error status
  
  
  

Mime
View raw message