[Webkit-unassigned] [Bug 223174] New: Limit XML declaration scan in text/html to the first 1024 bytes
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Mar 15 01:12:39 PDT 2021
https://bugs.webkit.org/show_bug.cgi?id=223174
Bug ID: 223174
Summary: Limit XML declaration scan in text/html to the first
1024 bytes
Product: WebKit
Version: Safari 14
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Page Loading
Assignee: webkit-unassigned at lists.webkit.org
Reporter: hsivonen at hsivonen.fi
CC: beidson at apple.com
Steps to reproduce:
1. Load https://hsivonen.com/test/moz/xml-decl/kilobyte-plus-one-after.htm
Expected results:
Expected the character after "Test: " not to be ж. I.e. expected the XML declaration in text/html not take effect when its terminating greater-than sign is not within the first 1024 bytes.
Actual results:
The XML declaration syntax takes effect for character encoding indicating that the greater-than sign was scanned for past the first 1024 bytes.
Additional information:
Spec pull request: https://github.com/whatwg/html/pull/1752
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210315/c0f3e0ad/attachment.htm>
More information about the webkit-unassigned
mailing list