I think we added this in the early days and probably had a good idea why
it makes sense. But I can't really remember.
I agree that we probably should remove it.
Regards
Carsten
Am 24.09.2021 um 12:51 schrieb Robert Munteanu:
Hi,
The resource resolver factory default config has a default mapping
entry of '/system/docroot:/' [1]. I tried to find a meaning for this
particular path prefix but failed. It is not referenced anywhere in the
Sling codebase and the '/system' path makes me thing it used to refer
to a virtual URL.
Does anyone know where this is coming from and if it's (maybe) safe to
drop as a default entry?
Thanks,
Robert
[1]:
https://github.com/apache/sling-org-apache-sling-resourceresolver/blob/30bf2129817ae20f9d480f8571d7219aef51a6ab/src/main/java/org/apache/sling/resourceresolver/impl/ResourceResolverFactoryConfig.java#L108
--
Carsten Ziegeler
Adobe
[email protected]