Julian Reschke commented on OAK-7281:

modifies {{Utils}} to use the non-permissive encoder, and also takes advantage 
of not having to create byte arrays everywhere.

> DocumentStore: long path handling looses information when strings are invalid
> -----------------------------------------------------------------------------
>                 Key: OAK-7281
>                 URL: https://issues.apache.org/jira/browse/OAK-7281
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: documentmk
>            Reporter: Julian Reschke
>            Priority: Minor
>         Attachments: OAK-7281.diff
> 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.

This message was sent by Atlassian JIRA

Reply via email to