Reviewers: Rico,
Description:
Fix bug in JSON character quote table.
Please review this at http://codereview.chromium.org/3349006/show
Affected files:
M src/json.js
Index: src/json.js
diff --git a/src/json.js b/src/json.js
index
5dd776899b6f942d5d0e795dd373be7df924de30..a39d7c4a97c60ac45168848435b98dccf8955fe2
100644
--- a/src/json.js
+++ b/src/json.js
@@ -74,7 +74,7 @@ var characterQuoteCache = {
'\f': '\\f', // ASCII 12, Formfeed
'\r': '\\r', // ASCII 13, Carriage Return
'\"': '\\"',
- '/': '\\/'
+ '\\': '\\\\'
};
function QuoteSingleJSONCharacter(c) {
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev