Details
-
Improvement
-
Resolution: Won't Do
-
Neutral
-
None
-
5.4, 5.4.1, 5.4.2
-
None
-
None
-
-
Yes
-
Empty show more show less
Description
Looking into the new servlet mapped to /.resources (info.magnolia.module.resources.ResourcesServlet) i noticed that it is not using the servlet parameter "resourcesRoot" like was in info.magnolia.cms.servlets.ClasspathSpool.
I really would like to have this parameter re-introduced again as it provides a way to "hide" resources from the public by simply adding a path which contains the resources you would like to expose through this servlet.
This is IMO a better approach then provide a blacklisting using a forbidden resource pattern.
If this is to much trouble then please make sure that in info.magnolia.module.resources.ResourcesServlet:
- the linker property can be used using a public getter
- all protected methods are made public
This way i can use my own servlet with a resourcesPath which extends the ResourcesServlet as much as possible instead that i have to copy all code.