[ http://jira.magnolia-cms.com/browse/MAGNOLIA-3119?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Manuel Molaschi updated MAGNOLIA-3119: -------------------------------------- Description: 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! was: 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! > unicodenormalization filter tries to overwrite orginaluri and orginalurl of > aggregationstate: there are two pitfalls > -------------------------------------------------------------------------------------------------------------------- > > Key: MAGNOLIA-3119 > URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-3119 > Project: Magnolia > Issue Type: Bug > Reporter: Manuel Molaschi > Assignee: Boris Kraft > > 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! -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.magnolia-cms.com/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <dev-list-unsubscr...@magnolia-cms.com> ----------------------------------------------------------------