You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Lóránt Pintér (JIRA)" <ji...@codehaus.org> on 2010/08/16 10:51:32 UTC

[jira] Created: (WAGON-312) Cannot download folders with spaces via SCP

Cannot download folders with spaces via SCP
-------------------------------------------

                 Key: WAGON-312
                 URL: http://jira.codehaus.org/browse/WAGON-312
             Project: Maven Wagon
          Issue Type: Bug
          Components: wagon-ssh
    Affects Versions: 1.0-beta-6
            Reporter: Lóránt Pintér
         Attachments: wagon-scp-spaces.patch

Downloading files via SCP fails when some folder names contain spaces. The problem is caused by paths not being properly escaped when executing commands. See attached patch for a primitive fix -- this fixes the problem in most cases, but proper escaping would be more welcome.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] Updated: (WAGON-312) Cannot download folders with spaces via SCP

Posted by "Lóránt Pintér (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/WAGON-312?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lóránt Pintér updated WAGON-312:
--------------------------------

    Attachment: wagon-scp-spaces-2.patch

Also includes fix for SCP upload problems with file/folder names containing spaces.

> Cannot download folders with spaces via SCP
> -------------------------------------------
>
>                 Key: WAGON-312
>                 URL: http://jira.codehaus.org/browse/WAGON-312
>             Project: Maven Wagon
>          Issue Type: Bug
>          Components: wagon-ssh
>    Affects Versions: 1.0-beta-6
>            Reporter: Lóránt Pintér
>         Attachments: wagon-scp-spaces-2.patch, wagon-scp-spaces.patch
>
>
> Downloading files via SCP fails when some folder names contain spaces. The problem is caused by paths not being properly escaped when executing commands. See attached patch for a primitive fix -- this fixes the problem in most cases, but proper escaping would be more welcome.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] Updated: (WAGON-312) Cannot download folders with spaces via SCP

Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/WAGON-312?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dennis Lundberg updated WAGON-312:
----------------------------------

    Fix Version/s:     (was: 1.0-beta-7)
                   1.0-beta-8

> Cannot download folders with spaces via SCP
> -------------------------------------------
>
>                 Key: WAGON-312
>                 URL: http://jira.codehaus.org/browse/WAGON-312
>             Project: Maven Wagon
>          Issue Type: Bug
>          Components: wagon-ssh
>    Affects Versions: 1.0-beta-6
>            Reporter: Lóránt Pintér
>            Assignee: Olivier Lamy
>             Fix For: 1.0-beta-8
>
>         Attachments: wagon-scp-spaces-2.patch, wagon-scp-spaces.patch
>
>
> Downloading files via SCP fails when some folder names contain spaces. The problem is caused by paths not being properly escaped when executing commands. See attached patch for a primitive fix -- this fixes the problem in most cases, but proper escaping would be more welcome.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] Closed: (WAGON-312) Cannot download folders with spaces via SCP

Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/WAGON-312?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olivier Lamy closed WAGON-312.
------------------------------

    Resolution: Fixed

patch committed with unit tests.

> Cannot download folders with spaces via SCP
> -------------------------------------------
>
>                 Key: WAGON-312
>                 URL: https://jira.codehaus.org/browse/WAGON-312
>             Project: Maven Wagon
>          Issue Type: Bug
>          Components: wagon-ssh
>    Affects Versions: 1.0-beta-6
>            Reporter: Lóránt Pintér
>            Assignee: Olivier Lamy
>             Fix For: 2.0
>
>         Attachments: wagon-scp-spaces-2.patch, wagon-scp-spaces.patch
>
>
> Downloading files via SCP fails when some folder names contain spaces. The problem is caused by paths not being properly escaped when executing commands. See attached patch for a primitive fix -- this fixes the problem in most cases, but proper escaping would be more welcome.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] Updated: (WAGON-312) Cannot download folders with spaces via SCP

Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/WAGON-312?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olivier Lamy updated WAGON-312:
-------------------------------

    Fix Version/s: 1.0-beta-7
         Assignee: Olivier Lamy

> Cannot download folders with spaces via SCP
> -------------------------------------------
>
>                 Key: WAGON-312
>                 URL: http://jira.codehaus.org/browse/WAGON-312
>             Project: Maven Wagon
>          Issue Type: Bug
>          Components: wagon-ssh
>    Affects Versions: 1.0-beta-6
>            Reporter: Lóránt Pintér
>            Assignee: Olivier Lamy
>             Fix For: 1.0-beta-7
>
>         Attachments: wagon-scp-spaces-2.patch, wagon-scp-spaces.patch
>
>
> Downloading files via SCP fails when some folder names contain spaces. The problem is caused by paths not being properly escaped when executing commands. See attached patch for a primitive fix -- this fixes the problem in most cases, but proper escaping would be more welcome.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] Issue Comment Edited: (WAGON-312) Cannot download folders with spaces via SCP

Posted by "Lóránt Pintér (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/WAGON-312?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=232100#action_232100 ] 

Lóránt Pintér edited comment on WAGON-312 at 8/16/10 4:28 AM:
--------------------------------------------------------------

Added wagon-scp-spaces-2.patch.

Also includes fix for SCP upload problems with file/folder names containing spaces.

      was (Author: lptr):
    Also includes fix for SCP upload problems with file/folder names containing spaces.
  
> Cannot download folders with spaces via SCP
> -------------------------------------------
>
>                 Key: WAGON-312
>                 URL: http://jira.codehaus.org/browse/WAGON-312
>             Project: Maven Wagon
>          Issue Type: Bug
>          Components: wagon-ssh
>    Affects Versions: 1.0-beta-6
>            Reporter: Lóránt Pintér
>         Attachments: wagon-scp-spaces-2.patch, wagon-scp-spaces.patch
>
>
> Downloading files via SCP fails when some folder names contain spaces. The problem is caused by paths not being properly escaped when executing commands. See attached patch for a primitive fix -- this fixes the problem in most cases, but proper escaping would be more welcome.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] Updated: (WAGON-312) Cannot download folders with spaces via SCP

Posted by "Benson Margulies (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/WAGON-312?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benson Margulies updated WAGON-312:
-----------------------------------

    Fix Version/s:     (was: 1.0)
                   2.0

> Cannot download folders with spaces via SCP
> -------------------------------------------
>
>                 Key: WAGON-312
>                 URL: https://jira.codehaus.org/browse/WAGON-312
>             Project: Maven Wagon
>          Issue Type: Bug
>          Components: wagon-ssh
>    Affects Versions: 1.0-beta-6
>            Reporter: Lóránt Pintér
>            Assignee: Olivier Lamy
>             Fix For: 2.0
>
>         Attachments: wagon-scp-spaces-2.patch, wagon-scp-spaces.patch
>
>
> Downloading files via SCP fails when some folder names contain spaces. The problem is caused by paths not being properly escaped when executing commands. See attached patch for a primitive fix -- this fixes the problem in most cases, but proper escaping would be more welcome.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira