Received: (from majordom@localhost) by hyperreal.org (8.8.5/8.8.5) id LAA17089; Tue, 9 Sep 1997 11:57:08 -0700 (PDT) Received: from veal.organic.com (h20.n145.organic.com [204.152.145.20]) by hyperreal.org (8.8.5/8.8.5) with ESMTP id LAA17057 for ; Tue, 9 Sep 1997 11:56:58 -0700 (PDT) Received: from localhost (akosut@localhost) by veal.organic.com (8.8.3/8.6.12) with SMTP id LAA00903 for ; Tue, 9 Sep 1997 11:56:55 -0700 (PDT) X-Authentication-Warning: veal.organic.com: akosut owned process doing -bs Date: Tue, 9 Sep 1997 11:56:53 -0700 (PDT) From: Alexei Kosut To: new-httpd@apache.org Subject: Re: cvs commit: apachen/src/main http_core.c In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: new-httpd-owner@apache.org Precedence: bulk Reply-To: new-httpd@apache.org On Tue, 9 Sep 1997, Dean Gaudet wrote: > On Tue, 9 Sep 1997, Alexei Kosut wrote: > > > + if (old_path && cmd->path[0] != '/') > > + cmd->path = pstrcat(cmd->pool, old_path, cmd->path, NULL); > > + > > + /* Ensure that the pathname is canonical */ > > + cmd->path = os_canonical_filename(cmd->pool, cmd->path); > > } > > - else if (old_path && cmd->path[0] != '/') > > - cmd->path = pstrcat(cmd->pool, old_path, cmd->path, NULL); > > This looks like another spot that requires ap_is_absolute_path. Ergh. Yerright, this will do odd things if you give it a name with drive letters, won't it... Hadn't thought of that (never tried under Windows, actually). -- Alexei Kosut