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 2015/01/12 16:20:34 UTC

[jira] [Comment Edited] (OAK-2389) issues with JsopBuilder.encode and .escape

    [ https://issues.apache.org/jira/browse/OAK-2389?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14273685#comment-14273685 ] 

Julian Reschke edited comment on OAK-2389 at 1/12/15 3:20 PM:
--------------------------------------------------------------

- adds signature without string length

- removes escaping of characters that do not need to be escaped

- changes control escaping logic to use a lookup table

- updates test expectations


was (Author: reschke):
- adds signature without string length

- removes escaping of characters that do not need to be escaped

- changes control escaping logic to use a lookup table

> issues with JsopBuilder.encode and .escape
> ------------------------------------------
>
>                 Key: OAK-2389
>                 URL: https://issues.apache.org/jira/browse/OAK-2389
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>            Reporter: Julian Reschke
>         Attachments: OAK-2389.diff
>
>
> 1) escape() escapes many characters that do not need to be escaped (>127)
> 2) encode() does not encode many control characters that would need to be escaped when read through a JSON parser.



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