Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-10334

Use of whitespaces in remotePath

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.17.3
    • 2.18.0
    • None
    • Patch Available
    • Unknown

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              acosentino Andrea Cosentino
              undso Alexander Friedrichs
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: