-
Bug
-
Resolution: Fixed
-
Major
-
4.5
-
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.
- clones
-
MGNLCACHE-16 URL's with multiple times a parameter with the same name cause cache collisions.
- Closed
- is causing
-
MAGNOLIA-5744 Semicolons doubled by CacheFilter
- Closed
-
MAGNOLIA-5808 CacheFilter still modifying parameters
- Closed
-
MGNLCACHE-63 CacheFilter still modifying parameters
- Closed
- mentioned in
-
Wiki Page Loading...