Closed Bug 784383 Opened 12 years ago Closed 12 years ago

JSON parser fails to understand \u00f5

Categories

(developer.mozilla.org Graveyard :: Editing, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 783762

People

(Reporter: jwkbugzilla, Unassigned)

Details

Steps to reproduce:

1. Edit any page on MDN.
2. Add the text {{ foo({"prop": "bar\u00f5"}) }} to the page.
3. Click "preview changes" button.

Expected results:

An error message complaining that the template foo doesn't exist (this is what you get without \u00f5).

Actual results:

An error message complaining that "f" was found where only [0-9] was expected.

\u escapes are hexadecimal so it is probably a good idea to change that regexp to [0-9a-fA-F].
This looks like the same problem as bug 783762. Wladimir, did you see a DocumentParsingError when you previewed the page?
Yes, it is the same issue.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
Version: Kuma → unspecified
Component: Docs Platform → Editing
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.