W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > October 2013

[Bug 23587] Provide rationale for content restrictions for script tag

From: <bugzilla@jessica.w3.org>
Date: Tue, 22 Oct 2013 12:22:08 +0000
To: public-html-bugzilla@w3.org
Message-ID: <bug-23587-2486-3rlg4gaJoC@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=23587

--- Comment #4 from Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no> ---
(In reply to Leif Halvard Silli from comment #1)
> (In reply to Jakub Łopuszański from comment #0)

> SOLUTION(S) FOR AUTHORS: 

> (2) Solution: Inside the script element, the spec should recommend that
>     authors escape not only the end tag </script> but also the start tag
>     <script>. Alternatively, authors could make sure that the script
>     elemnets ends wiht *two* end tags </script> ...

Or eventually: authors should be told to escape the start tag <script> if it
occurs after the string <!-- inside a script element.

Also, validators should cry out with a warning/error if it sees the construct 

  <!--<script> 

inside a script element.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Tuesday, 22 October 2013 12:22:13 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 16:31:45 UTC