diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2008-02-10 03:42:54 -0500 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-02-10 03:42:54 -0500 |
commit | 17246f6b45d02ab41d9c8c1dbe02e45bcab52e81 (patch) | |
tree | baa25b123c2f21f5da26d27f278530084905377d /t | |
parent | e9a215982b6e522f21653d2d164abcb7246b0f77 (diff) | |
download | ikiwiki-17246f6b45d02ab41d9c8c1dbe02e45bcab52e81.tar ikiwiki-17246f6b45d02ab41d9c8c1dbe02e45bcab52e81.tar.gz |
add some more tests
Diffstat (limited to 't')
-rw-r--r-- | t/javascript.mdwn | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/t/javascript.mdwn b/t/javascript.mdwn index 6a5805a70..f768d2939 100644 --- a/t/javascript.mdwn +++ b/t/javascript.mdwn @@ -1,2 +1,9 @@ <a href="javascript:alert('GOTCHA')">click me</a> <a href="javascript:alert('GOTCHA')">click me</a> +<a href="jscript:alert('GOTCHA')">click me</a> +<a href="vbscript:alert('GOTCHA')">click me</a> +<a href="java\tscript:alert('GOTCHA')">click me</a> +<span style="any: expressio(GOTCHA)n(window.location='http://example.org/')">entity-encoded CSS script test</span> +<span style="any: expression(GOTCHA)(window.location='http://example.org/')">entity-encoded CSS script test</span> +<script>GOTCHA</script> +<span style="background: url(javascript:window.location=GOTCHA)">CSS script test</span> |