httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Slemko <ma...@worldgate.com>
Subject [PATCH] fix that proxy cache PR on Win32
Date Sat, 03 Jan 1998 00:26:14 GMT
os_canonical_filename messes up proxy: sections.

It may or may not also mess up the checks done for regex stuff later on in
the section, but this at least makes proxy caching work...

Index: main/http_request.c
===================================================================
RCS file: /export/home/cvs/apachen/src/main/http_request.c,v
retrieving revision 1.96
diff -u -r1.96 http_request.c
--- http_request.c	1997/12/31 21:39:26	1.96
+++ http_request.c	1998/01/03 00:23:21
@@ -286,7 +286,6 @@
         return OK;
     }
 
-    r->filename   = os_canonical_filename(r->pool, r->filename);
     test_filename = pstrdup(r->pool, r->filename);
 
     /*
@@ -337,6 +336,7 @@
         return OK;
     }
 
+    r->filename   = os_canonical_filename(r->pool, r->filename);
     no2slash(test_filename);
     num_dirs = count_dirs(test_filename);
 


Mime
View raw message