Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 330132 - Rhino JSON parser should tolerate ISO control chars
Summary: Rhino JSON parser should tolerate ISO control chars
Status: RESOLVED FIXED
Alias: None
Product: JSDT
Classification: WebTools
Component: Debug (show other bugs)
Version: 3.3   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 3.3 M4   Edit
Assignee: Michael Rennie CLA
QA Contact: Simon Kaegi CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-12 14:36 EST by Michael Rennie CLA
Modified: 2010-11-12 14:36 EST (History)
1 user (show)

See Also:


Attachments
fix (1.21 KB, patch)
2010-11-12 14:36 EST, Michael Rennie CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Rennie CLA 2010-11-12 14:36:23 EST
Created attachment 183033 [details]
fix

code from HEAD

currently in our JSON parser for Rhino if we encounter an ISO control character we throw an exception. The problem with this is that it toasts the packet reading code and leaves the socket reader in a 'dead' state.

We should just skip over them.
Comment 1 Michael Rennie CLA 2010-11-12 14:36:49 EST
applied to HEAD