[ 
https://issues.apache.org/jira/browse/CAMEL-8056?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claus Ibsen resolved CAMEL-8056.
--------------------------------
    Resolution: Won't Fix
      Assignee: Claus Ibsen

Make you component use the raw parameter to get the uri as-is

> 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
>            Assignee: Claus Ibsen
>            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)

Reply via email to