Host selector should be case insensitive
----------------------------------------

                 Key: COCOON-1887
                 URL: http://issues.apache.org/jira/browse/COCOON-1887
             Project: Cocoon
          Issue Type: Bug
          Components: - Components: Sitemap
    Affects Versions: 2.1.8
            Reporter: Andrew Stevens
            Priority: Minor


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.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to