duplicity-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Duplicity-tracker] [bug #21689] FTP backend mishandles absolute paths


From: Darik Horn
Subject: [Duplicity-tracker] [bug #21689] FTP backend mishandles absolute paths
Date: Sat, 01 Dec 2007 20:26:33 +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 #2, bug #21689 (project duplicity):

I'm getting the desired behavior with Duplicity Patch #21689.

The gotcha here is that the ncftp helpers can get parameters with mixmatched
quoting.  For example, the ncftpls helper does not unquote the MKD parameter,
but it does unquote the URI parameter, and both of these strings are coming
from the same ParsedUrl properties.

I'm testing against Netkit 0.17 and ProFTPD 1.3.1rc2 at DreamHost.  I can't
get the logs for these servers, but I'll sandbox a similar configuration if
this bug still needs motivation after you review the patch.

Note that all URIs for FTP resources are path relative.  In particular,
ftp://MyServer//MyPath is not absolute, but some FTP implementations will do
what you want instead of what you asked.

How does your FileZilla installation currently handle these equivalent URIs?

  ftp://MyServer/%2F/MyPath/
  ftp://MyServer//%2F/MyPath/
  ftp://MyServer/%2MyPath

I tried to be minimally invasive with the patch, but I needed to touch the
os.path.join statement to keep it small.

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?21689>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]