camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-5357) URI normalization - Should detect already percent encoded values
Date Tue, 12 Jun 2012 08:09:43 GMT

    [ https://issues.apache.org/jira/browse/CAMEL-5357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13293432#comment-13293432
] 

Claus Ibsen commented on CAMEL-5357:
------------------------------------

Now we detect the % sign and only encodes if it needs to be, eg not already encoded, eg if
you have %20, %25 etc. Then thats already encoded.

There is some good details about url encode from wikipedia
http://en.wikipedia.org/wiki/Url_encode
                
> URI normalization - Should detect already percent encoded values
> ----------------------------------------------------------------
>
>                 Key: CAMEL-5357
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5357
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>
> If an uri has a percent encoded value, eg using %20, %25 etc, then the normalization
logic in Camel should detect this and keep the value as is.
> Currently it would end up double encoding %25, that becomes %2525, and so forth.
> Its the code in UnsafeUriCharactersEncoder that has the bug

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message