cubicweb #2372070 mod-concat -like css files concatenation induces wrong urls for relative-path-referenced assets [open]
E.g.: if you have a /data/css/mycss.css css file that references a url(mypng.png) background-image, when served concatenated (with a url path like /data??css/mycss.css,css/othercss.css) the browser will try to fetch /data/mypng.png instead of /data/css/mypng.png.
The workaround for now is to disallow concatenation of such css files (using self._cw.add_css('/data/css/mycss.css', localfile=False)), but it has evident drawbacks.
The way to fix this bug is probably to modify these relative URLs in a more clever concatenation algorithm.
|done in||<not specified>|
|closed by||<not specified>|