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)

Reply via email to