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: encoder.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.

Reply via email to