hi *,

I would have a question about VanityPath and ResourceResolver#map .
Assuming I have a resource /content/foo/bar with a  vanity path set ti /bar .
AFAICS if I try to do  ResourceResolver#map("/content/foo/bar”) the expectation 
give by the ResourceResolver#map API would be that this would return “/bar" .
Unfortunately this is not the case . This is still returning "/content/foo/bar” 
.
It looks like  this mapping mechanism works fine for alias and etc/map but not 
for vanity path. 
AFAICR this has been like this since the begin (aka no regression) 
My question is this a bug or is by design ?

I hope someone can clarify this…

regards

antonio

Reply via email to