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

Use of whitespaces in remotePath

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.17.3
    • Fix Version/s: 2.18.0
    • Component/s: None
    • Labels:
    • Patch Info:
      Patch Available
    • Estimated Complexity:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: