You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Marc Slemko <ma...@worldgate.com> on 1998/01/03 01:26:14 UTC

[PATCH] fix that proxy cache PR on Win32

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);
 


Re: [PATCH] fix that proxy cache PR on Win32

Posted by Ben Laurie <be...@algroup.co.uk>.
Marc Slemko wrote:
> 
> 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...

+1

Cheers,

Ben.

-- 
Ben Laurie            |Phone: +44 (181) 735 0686|Apache Group member
Freelance Consultant  |Fax:   +44 (181) 735 0689|http://www.apache.org
and Technical Director|Email: ben@algroup.co.uk |Apache-SSL author
A.L. Digital Ltd,     |http://www.algroup.co.uk/Apache-SSL
London, England.      |"Apache: TDG" http://www.ora.com/catalog/apache