projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
faaf5e1
)
Mailer.php
author
Edward
<edward@roojs.com>
Fri, 21 Feb 2014 04:23:20 +0000
(12:23 +0800)
committer
Edward
<edward@roojs.com>
Fri, 21 Feb 2014 04:23:20 +0000
(12:23 +0800)
Mailer.php
patch
|
blob
|
history
diff --git
a/Mailer.php
b/Mailer.php
index
dd5cfe0
..
4f0699b
100644
(file)
--- a/
Mailer.php
+++ b/
Mailer.php
@@
-312,6
+312,9
@@
class Pman_Core_Mailer {
foreach ($imgs as $i=>$img) {
$url = $img->getAttribute('src');
+ if (preg_match('#^cid:#', $url)) {
+ continue;
+ }
$conv = $this->fetchImage($url);
$this->images[$conv['contentid']] = $conv;