nevow.json serializes some line terminators such that Athena cannot deserialize them in the browser

Bug #805734 reported by Jean-Paul Calderone on 2011-07-04
This bug affects 1 person
Affects Status Importance Assigned to Milestone
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 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.

Related branches

Changed in nevow:
status: New → In Progress
Changed in nevow:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers