You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "James Leigh (JIRA)" <ji...@apache.org> on 2013/08/08 21:26:48 UTC

[jira] [Updated] (HTTPCLIENT-1385) CacheKeyGenerator Does Not Normalize Path Correctly

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

James Leigh updated HTTPCLIENT-1385:
------------------------------------

    Attachment: HTTPCLIENT-1385.patch

This patch replaces the canonicalizePath implementation with a complete Syntax-Based Normalization implementation. The method will decode the path and re-encodes only the characters that must be encoded (i.e. Case Normalization/Percent-Encoding Normalization) and includes Path Segment Normalization as per RFC 3986.
                
> CacheKeyGenerator Does Not Normalize Path Correctly
> ---------------------------------------------------
>
>                 Key: HTTPCLIENT-1385
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1385
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>          Components: HttpCache
>    Affects Versions: 4.3 Beta2
>            Reporter: James Leigh
>              Labels: patch
>             Fix For: 4.3 Beta3
>
>         Attachments: HTTPCLIENT-1385.patch
>
>
> CacheKeyGenerator fails to normalize paths with they contain a dot segment or percent.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org