Uploaded image for project: 'Jackrabbit FileVault'
  1. Jackrabbit FileVault
  2. JCRVLT-500

DefaultPathFilter#isAbsolute fails with quoted patterns

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.4.8
    • 3.4.10
    • Packaging
    • None

    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

          Activity

            People

              Unassigned Unassigned
              marett Timothee Maret
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: