[ https://issues.apache.org/jira/browse/OAK-4454?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dominique Jäggi closed OAK-4454. -------------------------------- bulk close after 1.5.5 release > 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 > Labels: candidate_oak_1_4 > Fix For: 1.5.5 > > > 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)