Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-5260

Incorrect handling of subpaths with leading left curly bracket

    XMLWordPrintableJSON

    Details

      Description

      As per SLING-6383 it looks like the Oak name mapping causes for example getItem("/libs/{sub") (with a left curly bracket in the path) to return the /libs node if that exists but the supplied path does not.

      I'll attach a patch with a test that demonstrates this.

      Felix Meschberger mentions in that Sling issue that the parsing of the CR 2 section 3.2.5.1 Expanded Form could be involved, treating the left curly bracket in a special way that's not appropriate here.

        Attachments

        1. OAK-5260.patch
          2 kB
          Bertrand Delacretaz
        2. OAK-5260-jsedding.patch
          4 kB
          Julian Sedding

          Issue Links

            Activity

              People

              • Assignee:
                thomasm Thomas Mueller
                Reporter:
                bdelacretaz Bertrand Delacretaz
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: