divmod-dev team mailing list archive
-
divmod-dev team
-
Mailing list archive
-
Message #00049
[Bug 805734] Re: nevow.json serializes some line terminators such that Athena cannot deserialize them in the browser
** Changed in: nevow
Status: In Progress => Fix Committed
--
You received this bug notification because you are a member of Divmod-
dev, which is the registrant for nevow.
https://bugs.launchpad.net/bugs/805734
Title:
nevow.json serializes some line terminators such that Athena cannot
deserialize them in the browser
Status in Divmod Nevow:
Fix Committed
Bug description:
JSON encoded bytes may include literal (that is, UTF-8 encoded) U+2028
or U+2029. However, JavaScript string literals may not. See
http://timelessrepo.com/json-isnt-a-javascript-subset for any more
detail that may be interesting.
Athena's JavaScript parser (browser-side JavaScript eval) cannot parse
these literals. If we emit escaped versions of the line terminators,
the parser won't need to change.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nevow/+bug/805734/+subscriptions
References