mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 00:58:55 +01:00
Deal with special characters in subject - make sure email filename is still valid
This commit is contained in:
parent
c88b82c4b0
commit
c2e12a6583
@ -250,7 +250,7 @@ class mail_integration {
|
||||
fclose($tmpfile);
|
||||
$size = filesize($attachment_file);
|
||||
$mailcontent['attachments'][] = array(
|
||||
'name' => trim($subject).'.eml',
|
||||
'name' => Api\Vfs::encodePathComponent(trim($subject)).'.eml',
|
||||
'mimeType' => 'message/rfc822',
|
||||
'type' => 'message/rfc822',
|
||||
'tmp_name' => $attachment_file,
|
||||
|
Loading…
Reference in New Issue
Block a user