You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Jeff Maher (JIRA)" <ji...@apache.org> on 2013/01/29 14:31:13 UTC

[jira] [Created] (CAMEL-6018) camel-ftp module loses starting characters of path for root dir logins

Jeff Maher created CAMEL-6018:
---------------------------------

             Summary: camel-ftp module loses starting characters of path for root dir logins
                 Key: CAMEL-6018
                 URL: https://issues.apache.org/jira/browse/CAMEL-6018
             Project: Camel
          Issue Type: Bug
          Components: camel-ftp
    Affects Versions: 2.10.2
         Environment: Camel app ran on: Java 6 u 38
FTP Server: UNIX-based
            Reporter: Jeff Maher


When an [S]FTP Camel route is established and the user logs in to the root dir (i.e. when the user logs in, they are put at /), the first character in the path is accidentally removed. While this is okay for users that login to a ~ based path, for the root, it means that the '/' is prematurely removed.

This problem happens in SftpOperations. A patch will be attached (see line 400 for the fix error or diff against the 2.10.2 tag).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira