[Webkit-unassigned] [Bug 42112] U+0000 is turned to U+FFFD (replacement character)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jul 15 00:29:20 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=42112





--- Comment #11 from Henri Sivonen <hsivonen at iki.fi>  2010-07-15 00:29:20 PST ---
See http://hg.mozilla.org/mozilla-central/rev/ae259fec2443

I made the tree builder ignore U+0000-originating U+FFFD in element content when the tree builder is neither in the 'text' state nor in the 'in foreign content' state (the two states that handle <script>, <style> and <textarea> text.)

As far as I can tell, the defense in depth rationale for turning U+0000 into U+FFFD doesn't apply to element content when script, style or textarea isn't involved.

Does this change make sense to you? (Note that Hixie didn't put this in the spec in http://html5.org/tools/web-apps-tracker?from=5155&to=5156 )

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list