Return-Path: Delivered-To: apmail-apache-bugdb-archive@apache.org Received: (qmail 47806 invoked by uid 500); 31 Oct 2000 23:18:21 -0000 Mailing-List: contact apache-bugdb-help@apache.org; run by ezmlm Precedence: bulk Reply-To: apache-bugdb@apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list apache-bugdb@apache.org Received: (qmail 47775 invoked from network); 31 Oct 2000 23:18:19 -0000 Received: from renown.concentric.net (HELO renown.cnchost.com) (207.155.248.7) by locus.apache.org with SMTP; 31 Oct 2000 23:18:19 -0000 Received: from www1 (www1.rowe-clan.net [208.176.192.146] (may be forged)) by renown.cnchost.com id SAA08724; Tue, 31 Oct 2000 18:18:19 -0500 (EST) [ConcentricHost SMTP Relay 1.10] Errors-To: From: "William A. Rowe, Jr." To: , Subject: RE: config/6771: Solution suggestion to problem 6705 Date: Tue, 31 Oct 2000 17:18:39 -0600 Message-ID: <002501c04390$e6c621f0$92c0b0d0@roweclan.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 In-Reply-To: <20001031225509.32576.qmail@locus.apache.org> X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N > From: Petter M�hl�n [mailto:petter.mahlen@chello.se] > Sent: Tuesday, October 31, 2000 4:55 PM > > >Fix: > two options: > 1. change the ap_os_is_path_absolute() function to: > return file && (file[0] == '/' || (file[1] == ':' && (file[2] == '/' || file[2] == '\'))); > In fact, even better would be something like > isDirectorySeparator(file[2]). Unacceptable, since Apache uses ap_os_is_path_absolute -within- the server, as well as to parse the httpd.conf. > 2. fix the JServ installation program to use / instead of \ A very good idea, IMHO. The real fix, which will I will commit this week, is to add a call through ap_canonicalize_filename to all of the places where the path is parsed from httpd.conf. Thank you very much, for your analysis and the suggestions!