NOTE: The current preferred location for bug reports is the GitHub issue tracker.
Bug 549 - EOF in tag tokens throws away the token now (for security reasons) (credit: sp)
EOF in tag tokens throws away the token now (for security reasons) (credit: sp)
Status: RESOLVED FIXED
Product: Validator.nu
Classification: Unclassified
Component: HTML parser
HEAD
All All
: P2 normal
Assigned To: Henri Sivonen
http://svn.whatwg.org/webapps/source?...
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-05-27 14:28 CEST by Henri Sivonen
Modified: 2009-05-27 16:46 CEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Henri Sivonen 2009-05-27 14:28:56 CEST
Index: source
===================================================================
--- source	(revision 2989)
+++ source	(revision 2990)
@@ -66014,9 +66014,8 @@
    token's tag name. Stay in the <span>tag name state</span>.</dd>
 
    <dt>EOF</dt>
-   <dd><span>Parse error</span>. Emit the current tag
-   token. Reconsume the EOF character in the <span>data
-   state</span>.</dd>
+   <dd><span>Parse error</span>. Reconsume the EOF character in the
+   <span>data state</span>.</dd>
 
    <dt>Anything else</dt>
    <dd>Append the <span>current input character</span> to the current tag token's
@@ -66059,9 +66058,8 @@
    entry below.</dd>
 
    <dt>EOF</dt>
-   <dd><span>Parse error</span>. Emit the current tag
-   token. Reconsume the EOF character in the <span>data
-   state</span>.</dd>
+   <dd><span>Parse error</span>. Reconsume the EOF character in the
+   <span>data state</span>.</dd>
 
    <dt>Anything else</dt>
    <dd>Start a new attribute in the current tag token. Set that
@@ -66107,9 +66105,8 @@
    entry below.</dd>
 
    <dt>EOF</dt>
-   <dd><span>Parse error</span>. Emit the current tag
-   token. Reconsume the EOF character in the <span>data
-   state</span>.</dd>
+   <dd><span>Parse error</span>. Reconsume the EOF character in the
+   <span>data state</span>.</dd>
 
    <dt>Anything else</dt>
    <dd>Append the <span>current input character</span> to the current attribute's
@@ -66162,9 +66159,8 @@
    entry below.</dd>
 
    <dt>EOF</dt>
-   <dd><span>Parse error</span>. Emit the current tag
-   token. Reconsume the EOF character in the <span>data
-   state</span>.</dd>
+   <dd><span>Parse error</span>. Reconsume the EOF character in the
+   <span>data state</span>.</dd>
 
    <dt>Anything else</dt>
    <dd>Start a new attribute in the current tag token. Set that
@@ -66207,9 +66203,8 @@
    entry below.</dd>
 
    <dt>EOF</dt>
-   <dd><span>Parse error</span>. Emit the current tag
-   token. Reconsume the character in the <span>data
-   state</span>.</dd>
+   <dd><span>Parse error</span>. Reconsume the EOF character in the
+   <span>data state</span>.</dd>
 
    <dt>Anything else</dt>
    <dd>Append the <span>current input character</span> to the current attribute's
@@ -66235,9 +66230,8 @@
    being U+0022 QUOTATION MARK (&quot;).</dd>
 
    <dt>EOF</dt>
-   <dd><span>Parse error</span>. Emit the current tag
-   token. Reconsume the character in the <span>data
-   state</span>.</dd>
+   <dd><span>Parse error</span>. Reconsume the EOF character in the
+   <span>data state</span>.</dd>
 
    <dt>Anything else</dt>
    <dd>Append the <span>current input character</span> to the current attribute's
@@ -66263,9 +66257,8 @@
    being U+0027 APOSTROPHE (').</dd>
 
    <dt>EOF</dt>
-   <dd><span>Parse error</span>. Emit the current tag
-   token. Reconsume the character in the <span>data
-   state</span>.</dd>
+   <dd><span>Parse error</span>. Reconsume the EOF character in the
+   <span>data state</span>.</dd>
 
    <dt>Anything else</dt>
    <dd>Append the <span>current input character</span> to the current attribute's
@@ -66304,9 +66297,8 @@
    entry below.</dd>
 
    <dt>EOF</dt>
-   <dd><span>Parse error</span>. Emit the current tag
-   token. Reconsume the character in the <span>data
-   state</span>.</dd>
+   <dd><span>Parse error</span>. Reconsume the EOF character in the
+   <span>data state</span>.</dd>
 
    <dt>Anything else</dt>
    <dd>Append the <span>current input character</span> to the current attribute's
@@ -66351,9 +66343,8 @@
    state</span>.</dd>
 
    <dt>EOF</dt>
-   <dd><span>Parse error</span>. Emit the current tag
-   token. Reconsume the EOF character in the <span>data
-   state</span>.</dd>
+   <dd><span>Parse error</span>. Reconsume the EOF character in the
+   <span>data state</span>.</dd>
 
    <dt>Anything else</dt>
    <dd><span>Parse error</span>. Reconsume the character in
@@ -66374,9 +66365,8 @@
    state</span>.</dd>
 
    <dt>EOF</dt>
-   <dd><span>Parse error</span>. Emit the current tag
-   token. Reconsume the EOF character in the <span>data
-   state</span>.</dd>
+   <dd><span>Parse error</span>. Reconsume the EOF character in the
+   <span>data state</span>.</dd>
 
    <dt>Anything else</dt>
    <dd><span>Parse error</span>. Reconsume the character in