diff options
-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> |