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] [Resolved] (COUCHDB-1166) See if the U+2028 character breaks JSONP
Date Mon, 16 May 2011 14:02:48 GMT

     [ https://issues.apache.org/jira/browse/COUCHDB-1166?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Paul Joseph Davis resolved COUCHDB-1166.
----------------------------------------

    Resolution: Not A Problem

We \u escape all output. Mochijson2 is configurable to output utf8, but we don't expose that
options.


Eshell V5.8.1  (abort with ^G)
1> Val = mochijson2:decode(<<"\"\\u2028\"">>).
<<226,128,168>>
2> mochijson2:encode(Val).
[34,"\\u2028",34]
3> 


> 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