[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Duplicity-tracker] [patch #6298] URI unquoting patch for FTP backend
From: |
Darik Horn |
Subject: |
[Duplicity-tracker] [patch #6298] URI unquoting patch for FTP backend |
Date: |
Sat, 01 Dec 2007 21:31:32 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.10) Gecko/20071126 Ubuntu/7.10 (gutsy) Firefox/2.0.0.10 |
Follow-up Comment #4, patch #6298 (project duplicity):
Using ftp://address@hidden//path to get an absolute path on the FTP server is
incorrect in any context, within or without a chroot environment.
The reason for change would be standards conformance and general convention.
Otherwise, duplicity has a barnacle. (This kind of thing happens because many
FTP implementations do what you want, instead of what you ask.)
The ncftpls man page has this commentary on the issue:
Note that the standard specifies that URL pathnames are are relative
pathnames. For FTP, this means that URLs specify relative pathnames from
the start directory, which for user logins, are typically the user’s home
directory. If you want to use absolute pathnames, you need to include a
literal slash, using the "%2F" code for a "/" character. Examples:
$ ncftpls -u linus ftp://ftp.kernel.org/%2Fusr/src/
$ ncftpls ftp://address@hidden/%2Fetc/
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/patch/?6298>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
- [Duplicity-tracker] [patch #6298] URI unquoting patch for FTP backend, Darik Horn, 2007/12/01
- [Duplicity-tracker] [patch #6298] URI unquoting patch for FTP backend, Kenneth Loafman, 2007/12/01
- [Duplicity-tracker] [patch #6298] URI unquoting patch for FTP backend, Darik Horn, 2007/12/01
- [Duplicity-tracker] [patch #6298] URI unquoting patch for FTP backend, Kenneth Loafman, 2007/12/01
- [Duplicity-tracker] [patch #6298] URI unquoting patch for FTP backend,
Darik Horn <=
- [Duplicity-tracker] [patch #6298] URI unquoting patch for FTP backend, Peter Schuller, 2007/12/01
- [Duplicity-tracker] [patch #6298] URI unquoting patch for FTP backend, Kenneth Loafman, 2007/12/01
- [Duplicity-tracker] [patch #6298] URI unquoting patch for FTP backend, Darik Horn, 2007/12/01
- [Duplicity-tracker] [patch #6298] URI unquoting patch for FTP backend, Kenneth Loafman, 2007/12/01
- [Duplicity-tracker] [patch #6298] URI unquoting patch for FTP backend, Kenneth Loafman, 2007/12/07