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 77A0C10D55 for ; Sat, 31 Aug 2013 09:37:05 +0000 (UTC) Received: (qmail 25327 invoked by uid 500); 31 Aug 2013 09:37:02 -0000 Delivered-To: apmail-camel-issues-archive@camel.apache.org Received: (qmail 24972 invoked by uid 500); 31 Aug 2013 09:36:55 -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 24928 invoked by uid 99); 31 Aug 2013 09:36:51 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 31 Aug 2013 09:36:51 +0000 Date: Sat, 31 Aug 2013 09:36:51 +0000 (UTC) From: "Claus Ibsen (JIRA)" To: issues@camel.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CAMEL-6689) ResourceHelper do not work with encoded file pathes 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-6689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13755463#comment-13755463 ] Claus Ibsen commented on CAMEL-6689: ------------------------------------ This is not intended to decode file paths but use the path as given. So are you loading resources from the file system which has spaces in the path or what is your use-case? > ResourceHelper do not work with encoded file pathes > --------------------------------------------------- > > Key: CAMEL-6689 > URL: https://issues.apache.org/jira/browse/CAMEL-6689 > Project: Camel > Issue Type: Bug > Components: camel-core > Reporter: Vitalii Tymchyshyn > > ResourceHelper in both resolveMandatoryResourceAsInputStream and resolveMandatoryResourceAsUrl do not decode file path. > This produces problem with file URIs like file:aaa%20bbb.txt -- 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