aboutsummaryrefslogtreecommitdiffstats
path: root/tests/safe_mode/unsafe_urls.txt
diff options
context:
space:
mode:
authorWaylan Limberg <waylan@gmail.com>2009-05-30 22:31:55 -0400
committerWaylan Limberg <waylan@gmail.com>2009-06-05 22:25:51 -0400
commit8b430d251b2518fa3303d7027f50268e0254b7a1 (patch)
treec9265f6ce7024d400b6c8bb58c26bda6a97f86d5 /tests/safe_mode/unsafe_urls.txt
parentcc452998dc1af441cf3f9c5d0c7287cb5de48c4a (diff)
downloadmarkdown-8b430d251b2518fa3303d7027f50268e0254b7a1.tar.gz
markdown-8b430d251b2518fa3303d7027f50268e0254b7a1.tar.bz2
markdown-8b430d251b2518fa3303d7027f50268e0254b7a1.zip
Moves tests to a subdir of the markdown lib.
Diffstat (limited to 'tests/safe_mode/unsafe_urls.txt')
-rw-r--r--tests/safe_mode/unsafe_urls.txt27
1 files changed, 0 insertions, 27 deletions
diff --git a/tests/safe_mode/unsafe_urls.txt b/tests/safe_mode/unsafe_urls.txt
deleted file mode 100644
index 7bfd81d..0000000
--- a/tests/safe_mode/unsafe_urls.txt
+++ /dev/null
@@ -1,27 +0,0 @@
-These links should be unsafe and not allowed in safe_mode
-
-[link](javascript:alert%28'Hello%20world!'%29)
-[link](vbscript:msgbox%28%22Hello%20world!%22%29)
-[link](livescript:alert%28'Hello%20world!'%29)
-[link](mocha:[code])
-[link](jAvAsCrIpT:alert%28'Hello%20world!'%29)
-[link](ja&#32;vas&#32;cr&#32;ipt:alert%28'Hello%20world!'%29)
-[link](ja&#00032;vas&#32;cr&#32;ipt:alert%28'Hello%20world!'%29)
-[link](ja&#x00020;vas&#32;cr&#32;ipt:alert%28'Hello%20world!'%29)
-[link](ja%09&#x20;%0Avas&#32;cr&#x0a;ipt:alert%28'Hello%20world!'%29)
-[link](ja%20vas%20cr%20ipt:alert%28'Hello%20world!'%29)
-[link](live%20script:alert%28'Hello%20world!'%29)
-
-![img](javascript:alert%29'XSS'%29)
-[ref][]
-![imgref][]
-
-[ref]: javascript:alert%29'XSS'%29
-[imgref]: javascript:alert%29'XSS'%29
-
-These should work regardless:
-
-[relative](relative/url.html)
-[email](mailto:foo@bar.com)
-[news scheme](news:some.news.group.com)
-[http link](http://example.com)