camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Friedrichs (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CAMEL-10334) Use of whitespaces in remotePath
Date Wed, 21 Sep 2016 07:02:20 GMT
Alexander Friedrichs created CAMEL-10334:
--------------------------------------------

             Summary: Use of whitespaces in remotePath
                 Key: CAMEL-10334
                 URL: https://issues.apache.org/jira/browse/CAMEL-10334
             Project: Camel
          Issue Type: Improvement
    Affects Versions: 2.17.3
            Reporter: Alexander Friedrichs
            Priority: Minor


With DropBox it is possible to use filepaths and filenames with whitespaces in it. The attribute
remotePath can't support this yet.

Camel translate a remotePath like this:
{{to("dropbox://search?accessToken=<accessToken>&clientIdentifier=<clientIdentifier>&remotePath=/path+with+spaces")}}
to {{/path with spaces}} and this hits the DropboxConfigurationValidator.

One possible solution, replace whitespaces with plus.

I created a patch with a unit test and will make a pull request for this.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message