couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Joseph Davis (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (COUCHDB-1166) See if the U+2028 character breaks JSONP
Date Mon, 16 May 2011 14:43:47 GMT

    [ 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

Mime
View raw message