Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Oct 1997 14:28:46 -0400 (EDT)
From:      Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
To:        John-Mark Gurney <gurney_j@efn.org>
Cc:        freebsd-bugs@hub.freebsd.org
Subject:   Re: bin/4670: /usr/bin/fetch fails to ftp a file ncftp can
Message-ID:  <199710011828.OAA19756@khavrinen.lcs.mit.edu>
In-Reply-To: <199710011750.KAA27156@hub.freebsd.org>
References:  <199710011750.KAA27156@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
<<On Wed, 1 Oct 1997 10:50:02 -0700 (PDT), John-Mark Gurney <gurney_j@efn.org> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199710011828.OAA19756>