Bug 6054
| Summary: | Encoded HTML Entities/Special Characters retrieved by XMLHttpRequest not rendering properly | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Justin Maxwell <jmaxwell> |
| Component: | DOM | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | ap |
| Priority: | P2 | ||
| Version: | 420+ | ||
| Hardware: | Mac | ||
| OS: | OS X 10.4 | ||
| URL: | http://www.apple.com/itunes/affiliates/download/?itmsUrl=itms%3A%2F%2Fax.phobos.apple.com.edgesuite.net%2FWebObjects%2FMZStore.woa%2Fwa%2FviewAlbum%3FselectedItemId%3D76020434%26playListId%3D76020481%26ign_mscache%3D1 | ||
| Bug Depends on: | 4301 | ||
| Bug Blocks: | |||
Justin Maxwell
In the example URL provided, we can see that the album title is rendering as "
When I'm Gone" (I hope bugzilla doesn't translate that to a character -- if
so, it's "When I&_#39;m Gone" without the underscore).
Expected behavior:
Renders as "When I'm Gone"
Regression:
This value is returned as an XML text node from an XMLHttpRequest and written
via innerHTML to a span. Firefox (both platforms) and IE6/SP2 render as expected.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Eric Seidel (no email)
This isn't a layout issue, but rather a parser issue. Possibly a dup of
http://bugzilla.opendarwin.org/show_bug.cgi?id=4301
Alexey Proskuryakov
This works fine for me in ToT (could reproduce with 2.0.2).
Eric Seidel (no email)
Justin, could you please confirm that this works for you with the latest nightly:
http://nightly.webkit.org/
Thanks!
Justin Maxwell
Thanks for introducing me to the world of latest nightlies. It works as
expected in 2.0.2 (416.13)