camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Tulala (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CAMEL-8056) Plus characters ('+') encoded in endpoint URIs are translated into spaces
Date Mon, 17 Nov 2014 16:08:33 GMT
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)

Mime
View raw message