duplicity-tracker
[Top][All Lists]
Advanced

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

[Duplicity-tracker] [bug #23066] ssh uris with given portnumbers are not


From: anonymous
Subject: [Duplicity-tracker] [bug #23066] ssh uris with given portnumbers are not handled correctly
Date: Sat, 26 Apr 2008 12:51:49 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.11) Gecko/20071128 Iceweasel/2.0.0.11 (Debian-2.0.0.11-1)

URL:
  <http://savannah.nongnu.org/bugs/?23066>

                 Summary: ssh uris with given portnumbers are not handled
correctly
                 Project: duplicity
            Submitted by: None
            Submitted on: Saturday 04/26/2008 at 12:51 UTC
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

When using portnumbers in ssh uris, e.g. ssh://address@hidden:1234/ duplicity
issues following command:

duplicity /foobar ssh://address@hidden:1234/          
Remote file or directory '' does not exist                                   
                                                    
Running 'sftp  -oPort=1234 address@hidden:1234' failed (attempt #1)

The problem resists in backends.py as parses_url.netloc is used as hoststring
which includes the port.

Attached is a simple patch which fix the problem



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Saturday 04/26/2008 at 12:51 UTC  Name: backends.py.patch  Size: 540B  
By: None

<http://savannah.nongnu.org/bugs/download.php?file_id=15530>

    _______________________________________________________

Reply to this item at:

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

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





reply via email to

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