You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Julian Reschke (JIRA)" <ji...@apache.org> on 2018/02/23 13:22:03 UTC
[jira] [Updated] (OAK-7281) DocumentStore: long path handling
looses information when strings are invalid
[ https://issues.apache.org/jira/browse/OAK-7281?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Julian Reschke updated OAK-7281:
--------------------------------
Attachment: OAK-7281.diff
> 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
(v7.6.3#76005)