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 "Amit Jain (JIRA)" <ji...@apache.org> on 2016/06/09 05:58:21 UTC

[jira] [Resolved] (OAK-4441) [BlobGC] Writing of strings should be escaped

     [ https://issues.apache.org/jira/browse/OAK-4441?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Amit Jain resolved OAK-4441.
----------------------------
    Resolution: Fixed

Fixed with:
1.2 - r1747494/r1747495
1.4 - r1747493
trunk - r1747492

> [BlobGC] Writing of strings should be escaped
> ---------------------------------------------
>
>                 Key: OAK-4441
>                 URL: https://issues.apache.org/jira/browse/OAK-4441
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>            Reporter: Amit Jain
>            Assignee: Amit Jain
>            Priority: Critical
>             Fix For: 1.2.16, 1.5.4, 1.4.4
>
>
> MarkSweepGarbageCollector writes node paths in a file along with the blob references as raw strings. 
> This is problematic because escaping/unescaping was introduced In ExternalSort used by GC class. But since the writing is not escaped, for strings with special characters the unescapeLineBreaks can fail.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)