hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Leigh (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HTTPCLIENT-1385) CacheKeyGenerator Does Not Normalize Path Correctly
Date Thu, 08 Aug 2013 19:26:48 GMT

     [ 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


Mime
View raw message