Return-Path: X-Original-To: apmail-camel-issues-archive@minotaur.apache.org Delivered-To: apmail-camel-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AC1B1E081 for ; Tue, 29 Jan 2013 15:29:16 +0000 (UTC) Received: (qmail 41343 invoked by uid 500); 29 Jan 2013 15:29:16 -0000 Delivered-To: apmail-camel-issues-archive@camel.apache.org Received: (qmail 41239 invoked by uid 500); 29 Jan 2013 15:29:16 -0000 Mailing-List: contact issues-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list issues@camel.apache.org Received: (qmail 40058 invoked by uid 99); 29 Jan 2013 15:29:14 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Jan 2013 15:29:14 +0000 Date: Tue, 29 Jan 2013 15:29:14 +0000 (UTC) From: "Jeff Maher (JIRA)" To: issues@camel.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CAMEL-6018) camel-ftp module loses starting characters of path for root dir logins MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CAMEL-6018?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jeff Maher updated CAMEL-6018: ------------------------------ Attachment: SftpOperations.java.patch > 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 > 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. 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