From f5d62f7157a629d8d1611d848be6e4167dd17075 Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Thu, 05 Jan 2012 04:51:41 -0500
Subject: [PATCH] - Fix bug in handling of base href and inline content (#1488290)
---
tests/mailfunc.php | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/tests/mailfunc.php b/tests/mailfunc.php
index 1b1bbdf..2e55d33 100644
--- a/tests/mailfunc.php
+++ b/tests/mailfunc.php
@@ -166,5 +166,9 @@
$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]");
}
}
--
Gitblit v1.9.1