Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.1.8, 2.1.11, 2.2
-
None
-
Low
-
Patch available
-
Components: Sitemap - 1.0.0
-
Components: Sitemap
Description
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.