Description
DefaultPathFilter#isAbsolute and DefaultPathFilter#translate decide if the pattern corresponds to an absolute path with
pattern.startsWith("/")
This implementation fails when passing a quoted pattern as noted in SLING-10088.
Indeed, the path /some/great/content gets quoted as \Q/some/great/content\E which does not start with a / although the pattern corresponds to an absolute path.
Attachments
Issue Links
- is related to
-
SLING-10088 PatternSyntaxException: Unclosed group near index x
- Closed
- links to