Bug 6446

Summary: Allow surrogate pairs in numeric entities
Product: WebKit Reporter: Alexey Proskuryakov <ap>
Component: DOMAssignee: Alexey Proskuryakov <ap>
Status: RESOLVED FIXED    
Severity: Minor CC: mathias
Priority: P2    
Version: 420+   
Hardware: Mac   
OS: OS X 10.4   
Bug Depends on:    
Bug Blocks: 4948    
Attachments:
Description Flags
proposed patch darin: review+

Alexey Proskuryakov
Reported 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.
Attachments
proposed patch (4.72 KB, patch)
2006-01-09 04:34 PST, Alexey Proskuryakov
darin: review+
Alexey Proskuryakov
Comment 1 2006-01-09 04:34:46 PST
Created attachment 5567 [details] proposed patch
Darin Adler
Comment 2 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?
Darin Adler
Comment 3 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
Alexey Proskuryakov
Comment 4 2006-01-09 12:23:05 PST
(In reply to comment #2) > Have we seen these in the wild? No, at least not me.
Alexey Proskuryakov
Comment 5 2012-05-29 10:50:44 PDT
We have bug 22210 for maybe undoing this.
Note You need to log in before you can comment on or make changes to this bug.