httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From f...@hyperreal.org
Subject cvs commit: apache-1.3/src/modules/standard mod_vhost_alias.c
Date Mon, 20 Dec 1999 18:16:56 GMT
fanf        99/12/20 10:16:55

  Modified:    src/main http_vhost.c
               src/modules/standard mod_vhost_alias.c
  Log:
  Leave the case-insensitivity stuff as it was before.
  
  Revision  Changes    Path
  1.17      +1 -1      apache-1.3/src/main/http_vhost.c
  
  Index: http_vhost.c
  ===================================================================
  RCS file: /home/cvs/apache-1.3/src/main/http_vhost.c,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- http_vhost.c	1999/12/20 17:43:37	1.16
  +++ http_vhost.c	1999/12/20 18:16:50	1.17
  @@ -676,7 +676,7 @@
   	    else
   		goto bad;
   	} else {
  -	    *dst++ = tolower(*src++);
  +	    *dst++ = *src++;
   	}
       }
       /* check the port part */
  
  
  
  1.5       +3 -2      apache-1.3/src/modules/standard/mod_vhost_alias.c
  
  Index: mod_vhost_alias.c
  ===================================================================
  RCS file: /home/cvs/apache-1.3/src/modules/standard/mod_vhost_alias.c,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- mod_vhost_alias.c	1999/12/20 17:43:40	1.4
  +++ mod_vhost_alias.c	1999/12/20 18:16:54	1.5
  @@ -390,8 +390,9 @@
   	    }
   	}
   	vhost_alias_checkspace(r, buf, &dest, end - start);
  -	memcpy(dest, start, end-start);
  -	dest += end-start;
  +	for (p = start; p < end; ++p) {
  +	    *dest++ = ap_tolower(*p);
  +	}
       }
       *dest = '\0';
       /* no double slashes */
  
  
  

Mime
View raw message