cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörg Heinicke (JIRA) <j...@apache.org>
Subject [jira] Closed: (COCOON-1887) Host selector should be case insensitive
Date Sun, 22 Feb 2009 08:55:02 GMT

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

Jörg Heinicke closed COCOON-1887.
---------------------------------

    Resolution: Fixed

Patch applied to 2.1 and 2.2.

> Host selector should be case insensitive
> ----------------------------------------
>
>                 Key: COCOON-1887
>                 URL: https://issues.apache.org/jira/browse/COCOON-1887
>             Project: Cocoon
>          Issue Type: Bug
>          Components: - Components: Sitemap
>    Affects Versions: 2.1.8, 2.1.11, 2.2
>            Reporter: Andrew Stevens
>            Assignee: Jörg Heinicke
>            Priority: Minor
>             Fix For: 2.1.12-dev (Current SVN), 2.2-dev (Current SVN)
>
>         Attachments: HostSelectorPatch.diff
>
>
> According to the relevant RFC (RFC3986 section 3.2.2) the host part of a HTTP URL should
be case insensitive; the remaining path is case sensitive, but scheme and host should not
be.  However, the host selector is currently not case insensitive (since NamedPatternsSelector.checkPatterns(String,
String) uses indexOf) and therefore if the requested URL uses a different case for the host
part the pipeline may choose the wrong case in the map:select.

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


Mime
View raw message