-
Bug
-
Resolution: Fixed
-
Major
-
None
-
None
unicodenormalization filter tries to overwrite orginaluri and orginalurl of aggregationstate.
There are two pitfalls:
- if the url is sent in nfd and then normalized to nfc by the filter, that tries to set it back on AggregationState using setOriginalUri; but the new url is not equal (nfd -> nfc) to the previous and this will throw an illegalstateexception
- even if the original uri is nfc, but the contextpath has the same name as the first clean uri token:
i.e. the uri is http://www.mydomain.com/thename/thename/en/home.html with context path = "/thename" and clean url "/thename/en/home.html"- contenttypefilter set originaluri /thename/en/home.html
- unicodenormalizationfilter tries to overwrite with normalized /thename/en/home.html but the AggregationState.setOriginalUri strips /thename, compares /thename/en/home.html (original) with and /en/home.html and then throws illegalstateexception!
Acceptance criteria