httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@imdb.com (Rob Hartill)
Subject Re: 1.2b3 release
Date Mon, 23 Dec 1996 22:30:55 GMT

+1 on the patch and a 1.2b3 with this in it ASAP.

Alexei Kosut wrote:

>Index: http_request.c
>===================================================================
>RCS file: /export/home/cvs/apache/src/http_request.c,v
>retrieving revision 1.32
>diff -c -r1.32 http_request.c
>*** http_request.c	1996/12/11 05:16:08	1.32
>--- http_request.c	1996/12/23 22:00:52
>***************
>*** 381,386 ****
>--- 381,392 ----
>      int len, num_url = url_array->nelts;
>      char *test_location = pstrdup (r->pool, r->uri);
>  
>+     /* Collapse multiple slashes, if it's a path URL (we don't want to
>+      * do anything to <Location http://...> or such).
>+      */
>+     if (test_location[0] == '/')
>+ 	no2slash (test_location);
>+ 
>      /* Go through the location entries, and check for matches. */
>  
>      if (num_url) {
>***************
>*** 439,444 ****
>--- 445,453 ----
>      core_dir_config **file = (core_dir_config **)file_array->elts;
>      int len, num_files = file_array->nelts;
>      char *test_file = pstrdup (r->pool, r->filename);
>+ 
>+     /* Collapse multiple slashes */
>+     no2slash (test_file);
>  
>      /* Go through the file entries, and check for matches. */
>  
>
>
>-- 
>________________________________________________________________________
>Alexei Kosut <akosut@nueva.pvt.k12.ca.us>      The Apache HTTP Server
>URL: http://www.nueva.pvt.k12.ca.us/~akosut/   http://www.apache.org/
>
>


-- 
Rob Hartill.       Internet Movie Database Ltd.    http://www.imdb.com/  

Mime
View raw message