mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2025-08-06 06:07:26 +02:00
Fix infinite loop in Lexer.
Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
This commit is contained in:
6
tests/HTMLPurifier/HTMLT/style-onload.htmlt
Normal file
6
tests/HTMLPurifier/HTMLT/style-onload.htmlt
Normal file
@@ -0,0 +1,6 @@
|
||||
--INI--
|
||||
Core.CollectErrors = true
|
||||
--HTML--
|
||||
<style/onload = !-alert(1)>
|
||||
--EXPECT--
|
||||
--# vim: et sw=4 sts=4
|
Reference in New Issue
Block a user