Bug 6446 - Allow surrogate pairs in numeric entities
Summary: Allow surrogate pairs in numeric entities
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 420+
Hardware: Mac OS X 10.4
: P2 Minor
Assignee: Alexey Proskuryakov
URL:
Keywords:
Depends on:
Blocks: 4948
  Show dependency treegraph
 
Reported: 2006-01-09 04:33 PST by Alexey Proskuryakov
Modified: 2012-05-29 10:50 PDT (History)
1 user (show)

See Also:


Attachments
proposed patch (4.72 KB, patch)
2006-01-09 04:34 PST, Alexey Proskuryakov
darin: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Proskuryakov 2006-01-09 04:33:57 PST
Fix part of bug 4948 - allow Unicode surrogates to be encoded as HTML numeric entities. This is invalid, 
but Firefox allows this.
Comment 1 Alexey Proskuryakov 2006-01-09 04:34:46 PST
Created attachment 5567 [details]
proposed patch
Comment 2 Darin Adler 2006-01-09 08:56:05 PST
Comment on attachment 5567 [details]
proposed patch

Is the fact that Firefox allows these incorrect entity values sufficient reason
for us to support them too?

Have we seen these in the wild?
Comment 3 Darin Adler 2006-01-09 09:06:35 PST
Comment on attachment 5567 [details]
proposed patch

r=me, anyway -- it's hard to see a major downside to making this tiny change
Comment 4 Alexey Proskuryakov 2006-01-09 12:23:05 PST
(In reply to comment #2)
> Have we seen these in the wild?

No, at least not me.
Comment 5 Alexey Proskuryakov 2012-05-29 10:50:44 PDT
We have bug 22210 for maybe undoing this.