mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2024-11-09 15:28:40 +00:00
Add test for invalid SafeIframe usage.
Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
This commit is contained in:
parent
4164b2eb2b
commit
d2de8d976a
7
tests/HTMLPurifier/HTMLT/safe-iframe-invalid.htmlt
Normal file
7
tests/HTMLPurifier/HTMLT/safe-iframe-invalid.htmlt
Normal file
@ -0,0 +1,7 @@
|
||||
--INI--
|
||||
HTML.SafeIframe = true
|
||||
--HTML--
|
||||
<iframe src="http://www.example.com/"></iframe>
|
||||
--EXPECT--
|
||||
<iframe></iframe>
|
||||
--# vim: et sw=4 sts=4
|
Loading…
Reference in New Issue
Block a user