[
https://issues.apache.org/jira/browse/OAK-4454?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Julian Reschke updated OAK-4454:
--------------------------------
Fix Version/s: 1.6
> 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.6, 1.5.5, 1.4.6, 1.2.18
>
>
> 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)