summaryrefslogtreecommitdiff
path: root/test/uri/test_mailto.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/uri/test_mailto.rb')
-rw-r--r--test/uri/test_mailto.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/uri/test_mailto.rb b/test/uri/test_mailto.rb
index 661f7f7a9c..9001835d28 100644
--- a/test/uri/test_mailto.rb
+++ b/test/uri/test_mailto.rb
@@ -104,6 +104,9 @@ class TestMailTo < Test::Unit::TestCase
# mailto:javascript:alert()
bad << ["javascript:alert()", []]
+ # mailto:/example.com/ ; WRONG, not a mail address
+ bad << ["/example.com/", []]
+
# '=' which is in hname or hvalue is wrong.
bad << ["foo@example.jp?subject=1+1=2", []]