aboutsummaryrefslogtreecommitdiffstats
path: root/tests/safe_mode/link-targets.html
diff options
context:
space:
mode:
authorWaylan Limberg <waylan@gmail.com>2013-02-05 10:37:52 -0800
committerWaylan Limberg <waylan@gmail.com>2013-02-05 10:37:52 -0800
commit86381a43fe13a7c87e8a0b07c6117f1767b6acc0 (patch)
treed3f60375488b2d63bac3d24b0a41d1af3073e213 /tests/safe_mode/link-targets.html
parentc201f3c706316fbafff51631ce86a0a3784f3218 (diff)
parentf608517d9e1dee126431aafedabdabaa03ec2937 (diff)
downloadmarkdown-86381a43fe13a7c87e8a0b07c6117f1767b6acc0.tar.gz
markdown-86381a43fe13a7c87e8a0b07c6117f1767b6acc0.tar.bz2
markdown-86381a43fe13a7c87e8a0b07c6117f1767b6acc0.zip
Merge pull request #185 from phihag/safemode-no-javascript-urls
Prevent javascript:// URLs
Diffstat (limited to 'tests/safe_mode/link-targets.html')
-rw-r--r--tests/safe_mode/link-targets.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/safe_mode/link-targets.html b/tests/safe_mode/link-targets.html
new file mode 100644
index 0000000..768ae5b
--- /dev/null
+++ b/tests/safe_mode/link-targets.html
@@ -0,0 +1,2 @@
+<p><a href="">XSS</a>
+See http://security.stackexchange.com/q/30330/1261 for details.</p> \ No newline at end of file