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

Plus characters ('+') encoded in endpoint URIs are translated into spaces

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Won't Fix
    • None
    • None
    • None
    • None
    • Unknown

    Description

      Method URISupport#parseParameters translates %2B character sequence in URI into '+' character. Therefore all plus characters are interpreted as spaces.

      Example:

      from("webdirectory://example.com/?fileRegex=%5E%5B%5E%5C%3F%5D%2Bcmecat%5C.txt%24").to(...)

      Expected value of fileRegex parameter:

      ^\d+cmecat\.txt$

      Actual value of fileRegex returned by DefaultComponent#getAndRemoveParameter:

      ^\d cmecat\.txt$

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            petertulala Peter Tulala
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: