httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mar...@hyperreal.org
Subject cvs commit: apache-1.3/src/modules/proxy mod_proxy.c
Date Sun, 22 Feb 1998 21:22:13 GMT
martin      98/02/22 13:22:13

  Modified:    src/modules/proxy mod_proxy.c
  Log:
  Ignore case on host name comparisons for NoCache and NoProxy directives
  
  Revision  Changes    Path
  1.37      +2 -2      apache-1.3/src/modules/proxy/mod_proxy.c
  
  Index: mod_proxy.c
  ===================================================================
  RCS file: /home/cvs/apache-1.3/src/modules/proxy/mod_proxy.c,v
  retrieving revision 1.36
  retrieving revision 1.37
  diff -u -u -r1.36 -r1.37
  --- mod_proxy.c	1998/02/22 21:03:43	1.36
  +++ mod_proxy.c	1998/02/22 21:22:12	1.37
  @@ -468,7 +468,7 @@
   
       /* Don't duplicate entries */
       for (i = 0; i < conf->noproxies->nelts; i++) {
  -	if (strcmp(arg, list[i].name) == 0)
  +	if (strcasecmp(arg, list[i].name) == 0) /* ignore case for host names */
   	    found = 1;
       }
   
  @@ -683,7 +683,7 @@
   
       /* Don't duplicate entries */
       for (i = 0; i < conf->nocaches->nelts; i++) {
  -	if (strcmp(arg, list[i].name) == 0)
  +	if (strcasecmp(arg, list[i].name) == 0) /* ignore case for host names */
   	    found = 1;
       }
   
  
  
  

Mime
View raw message