From owner-freebsd-bugs Wed Oct 1 11:28:55 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id LAA29117 for bugs-outgoing; Wed, 1 Oct 1997 11:28:55 -0700 (PDT) Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id LAA29110 for ; Wed, 1 Oct 1997 11:28:53 -0700 (PDT) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.8.5/8.8.5) id OAA19756; Wed, 1 Oct 1997 14:28:46 -0400 (EDT) Date: Wed, 1 Oct 1997 14:28:46 -0400 (EDT) From: Garrett Wollman Message-Id: <199710011828.OAA19756@khavrinen.lcs.mit.edu> To: John-Mark Gurney Cc: freebsd-bugs@hub.freebsd.org Subject: Re: bin/4670: /usr/bin/fetch fails to ftp a file ncftp can In-Reply-To: <199710011750.KAA27156@hub.freebsd.org> References: <199710011750.KAA27156@hub.freebsd.org> Sender: owner-freebsd-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk < said: > now the question is, should we simply add a / to the front of the path > in fetch? No. FTP URLs are SUPPOSED to be relative to wherever FTP puts incoming users. If you want to add a literal `/' to the URL, add `%2f' at the beginning. (Many URL parsers interpret this incorrectly... the third slash in an absolute URL is ONLY a separator, and does not comprise part of the `path' component.) -GAWollman -- Garrett A. Wollman | O Siem / We are all family / O Siem / We're all the same wollman@lcs.mit.edu | O Siem / The fires of freedom Opinions not those of| Dance in the burning flame MIT, LCS, CRS, or NSA| - Susan Aglukark and Chad Irschick