You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Hiram Chirino (JIRA)" <ji...@apache.org> on 2007/10/10 18:02:23 UTC

[jira] Resolved: (CAMEL-162) Encoding the unsafe characters in URI

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

Hiram Chirino resolved CAMEL-162.
---------------------------------

    Resolution: Fixed

patch applied.

> Encoding the unsafe characters in URI
> -------------------------------------
>
>                 Key: CAMEL-162
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-162
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 1.1.0
>            Reporter: Willem Jiang
>             Fix For: 1.2.0
>
>         Attachments: UnsafeUriCharactersEncoder.patch
>
>
> In RFC1738,  there some unsafe characters need to encode, they are 
>   Space   Quotation marks  'Less Than' symbol ("<")   'Greater Than' symbol (">")   'Pound' character ("#")  Percent character ("%")
>   Left Curly Brace ("{")     Right Curly Brace ("}")     Vertical Bar/Pipe ("|")     Backslash ("\")     Caret ("^")     Tilde ("~")     Left Square Bracket ("[")     Right Square Bracket ("]")     Grave Accent ("`")
> So I wrote an UnsafeCharactersEncoder to do this job, the unit test also was included.
> Please review  and apply the patch .

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.