summaryrefslogtreecommitdiff
path: root/tests/mailfunc.php
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2012-01-05 09:51:41 +0000
committeralecpl <alec@alec.pl>2012-01-05 09:51:41 +0000
commitf5d62f7157a629d8d1611d848be6e4167dd17075 (patch)
tree8599384d352947c658ec75e5449369f9070473e2 /tests/mailfunc.php
parent48be8f6428ba3be7375b84aea2b73d1c67de6da1 (diff)
- Fix bug in handling of base href and inline content (#1488290)
Diffstat (limited to 'tests/mailfunc.php')
-rw-r--r--tests/mailfunc.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/mailfunc.php b/tests/mailfunc.php
index 1b1bbdf38..2e55d331d 100644
--- a/tests/mailfunc.php
+++ b/tests/mailfunc.php
@@ -166,5 +166,9 @@ class rcube_test_mailfunc extends UnitTestCase
$this->assertPattern('|src="http://alec\.pl/dir/img1\.gif"|', $html, "URI base resolving [1]");
$this->assertPattern('|src="http://alec\.pl/dir/img2\.gif"|', $html, "URI base resolving [2]");
$this->assertPattern('|src="http://alec\.pl/img3\.gif"|', $html, "URI base resolving [3]");
+
+ // base resolving exceptions
+ $this->assertPattern('|src="cid:theCID"|', $html, "URI base resolving exception [1]");
+ $this->assertPattern('|src="http://other\.domain\.tld/img3\.gif"|', $html, "URI base resolving exception [2]");
}
}