[ 
https://issues.apache.org/jira/browse/CAMEL-6018?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jeff Maher updated CAMEL-6018:
------------------------------

    Description: 
When an SFTP 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. Originally found in 2.10.2 (attached: 
SftpOperations.java, includes fix). Patch file (SftpOperations.java.patch) is 
for 2.11-SNAPSHOT (the current trunk).

  was:
When an SFTP 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

    
> 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, 2.11.1
>         Environment: Camel app ran on: Java 6 u 38
> FTP Server: UNIX-based
>            Reporter: Jeff Maher
>         Attachments: SftpOperations.java, SftpOperations.java.patch
>
>
> When an SFTP 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. Originally found in 2.10.2 (attached: 
> SftpOperations.java, includes fix). Patch file (SftpOperations.java.patch) is 
> for 2.11-SNAPSHOT (the current trunk).

--
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

Reply via email to