aboutsummaryrefslogtreecommitdiff
path: root/tests/safe_mode/unsafe_urls.html
diff options
context:
space:
mode:
Diffstat (limited to 'tests/safe_mode/unsafe_urls.html')
-rw-r--r--tests/safe_mode/unsafe_urls.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/safe_mode/unsafe_urls.html b/tests/safe_mode/unsafe_urls.html
new file mode 100644
index 0000000..e617f35
--- /dev/null
+++ b/tests/safe_mode/unsafe_urls.html
@@ -0,0 +1,20 @@
+<p>These links should be unsafe and not allowed in safe_mode</p>
+<p><a href="">link</a>
+<a href="">link</a>
+<a href="">link</a>
+<a href="">link</a>
+<a href="">link</a>
+<a href="">link</a>
+<a href="">link</a>
+<a href="">link</a>
+<a href="">link</a>
+<a href="">link</a>
+<a href="">link</a></p>
+<p><img alt="img" src="" />
+<a href="">ref</a>
+<img alt="imgref" src="" /></p>
+<p>These should work regardless:</p>
+<p><a href="relative/url.html">relative</a>
+<a href="mailto:foo@bar.com">email</a>
+<a href="news:some.news.group.com">news scheme</a>
+<a href="http://example.com">http link</a></p> \ No newline at end of file