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

DocumentStore: long path handling looses information when strings are invalid

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • documentmk
    • None

    Description

      The various methods related to long paths in org.apache.jackrabbit.oak.plugins.document.util.Utils use String.getBytes() which will map invalid inputs to the same replacement character. Thus multiple long paths might map to the same hash.

      Attachments

        1. OAK-7281.diff
          7 kB
          Julian Reschke

        Issue Links

          Activity

            People

              Unassigned Unassigned
              reschke Julian Reschke
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: