jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amit Jain (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (OAK-4454) Create consistent API in ExternalSort to write and read escaped line breaks
Date Tue, 02 Aug 2016 04:33:20 GMT

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

Amit Jain updated OAK-4454:
---------------------------
    Labels:   (was: candidate_oak_1_4)

> Create consistent API in ExternalSort to write and read escaped line breaks
> ---------------------------------------------------------------------------
>
>                 Key: OAK-4454
>                 URL: https://issues.apache.org/jira/browse/OAK-4454
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: commons
>            Reporter: Amit Jain
>            Assignee: Amit Jain
>            Priority: Minor
>             Fix For: 1.5.5, 1.4.6
>
>
> ExternalSort while sorting uses {{EscapeUtils.unescapeLineBreaks}} to read lines. It
is better if a new API is created with explicit expectations documented that the File being
sorted has been properly escaped with {{EscapeUtils.escapeLineBreak}}.
> Otherwise, it will lead to situations like OAK-4441 where File is not escaped while writing.



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

Mime
View raw message