Permalink
Browse files

Bug #19770: Make cid generation more unique on Windows

  • Loading branch information...
alecpl committed Jun 24, 2013
1 parent 3e6e1d9 commit bdf24f7ba95fb9574aac7f60112aa0ebdffaf3e1
Showing with 1 addition and 1 deletion.
  1. +1 −1 Mail/Mime2.php
View
@@ -330,7 +330,7 @@ public function addHTMLImage($file,
}
if (!$content_id) {
- $content_id = md5(uniqid(time()));
+ $content_id = preg_replace('/[^0-9a-zA-Z]/', '', uniqid(time(), true));
}
$this->_html_images[] = array(

0 comments on commit bdf24f7

Please sign in to comment.