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

Paul Joseph Davis commented on COUCHDB-1166:
--------------------------------------------

Ruh roh.


1> Val = ejson:decode(<<"\"\\u2028\"">>).
<<226,128,168>>
2> ejson:encode(Val).
<<34,226,128,168,34>>

This is from the ejson that's in trunk.

> See if the U+2028 character breaks JSONP
> ----------------------------------------
>
>                 Key: COUCHDB-1166
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1166
>             Project: CouchDB
>          Issue Type: Improvement
>            Reporter: Jan Lehnardt
>            Priority: Minor
>
> We should see if we need to fix our JSON responses over JSONP according to 
> http://timelessrepo.com/json-isnt-a-javascript-subset

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to