-
Bug
-
Resolution: Fixed
-
Major
-
5.0
-
None
-
Mac OSX , Java 1.6
We have a page with a model class that uses one parameter ("constraint") which gets set multiple times in the url. e.g.
http://www.wetenschap24.nl/ondemand.html?constraint=extra_field_nl_vpro_subsite%3Alabyrint&constraint=extra_field_nl_vpro_page_type%3AVideo
However this does not work properly, all pages which end with same 'constraint' parameter get cached under the same cacheentry.
This is caused by line 146 of info.magnolia.module.cache.cachepolicy.Default:
params = MgnlContext.getWebContext().getParameters();
This function flattens the parameters so every one only occurs once.
info.magnolia.context.WebContextImpl.getParameters() even warns for that
effect.
This causes problems for every page which uses multiple times the same parameter.
- is cloned by
-
MAGNOLIA-5215 CLONE - URL's with multiple times a parameter with the same name cause cache collisions.
- Closed