You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Peter Tulala (JIRA)" <ji...@apache.org> on 2014/11/17 17:08:33 UTC

[jira] [Created] (CAMEL-8056) Plus characters ('+') encoded in endpoint URIs are translated into spaces

Peter Tulala created CAMEL-8056:
-----------------------------------

             Summary: Plus characters ('+') encoded in endpoint URIs are translated into spaces
                 Key: CAMEL-8056
                 URL: https://issues.apache.org/jira/browse/CAMEL-8056
             Project: Camel
          Issue Type: Bug
            Reporter: Peter Tulala
            Priority: Minor


Method _URISupport#parseParameters_ translates _%2B_ character sequence in URI into '+' character. Therefore all plus characters are interpreted as spaces.

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

Expected value of _fileRegex_ parameter:
bq. ^\d+cmecat\.txt$
Actual value of _fileRegex_ returned by _DefaultComponent#getAndRemoveParameter_:
bq. ^\d cmecat\.txt$



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