mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
* Mail: fix mixed up inline images and attachments in smime signed messages
This commit is contained in:
parent
b744859b70
commit
fce9ba3a41
@ -6136,7 +6136,7 @@ class Mail
|
|||||||
// everything else we only consider after we checked all
|
// everything else we only consider after we checked all
|
||||||
if (!isset($attachment)) $attachment = $part;
|
if (!isset($attachment)) $attachment = $part;
|
||||||
// do we want content fetched, can be done later, if not needed
|
// do we want content fetched, can be done later, if not needed
|
||||||
if (isset($_stream))
|
if (isset($_stream) && empty($structure->getMetadata('X-EGroupware-Smime')))
|
||||||
{
|
{
|
||||||
$this->fetchPartContents($_uid, $attachment, $_stream);
|
$this->fetchPartContents($_uid, $attachment, $_stream);
|
||||||
}
|
}
|
||||||
|
@ -6060,7 +6060,7 @@ app.classes.mail = AppJS.extend(
|
|||||||
{
|
{
|
||||||
if (_obj1[i]['mail_id'] != _obj2[i]['mail_id'] || _obj1[i]['partID'] != _obj2[i]['partID']) return false;
|
if (_obj1[i]['mail_id'] != _obj2[i]['mail_id'] || _obj1[i]['partID'] != _obj2[i]['partID']) return false;
|
||||||
}
|
}
|
||||||
|
if (_obj1.length != _obj2.length) return false;
|
||||||
return true;
|
return true;
|
||||||
};
|
};
|
||||||
if (_attachments && _attachments.length)
|
if (_attachments && _attachments.length)
|
||||||
|
Loading…
Reference in New Issue
Block a user