1
0
mirror of https://github.com/freescout-helpdesk/freescout.git synced 2024-11-23 19:02:46 +01:00

Fix decoding binary encoded emails - clsoes #2186

This commit is contained in:
FreeScout 2022-09-02 06:36:41 -07:00
parent 2c5be3a77e
commit 584cf3bcea

View File

@ -807,7 +807,7 @@ class Message
case self::ENC_8BIT:
return quoted_printable_decode(imap_8bit($string));
case self::ENC_BINARY:
return imap_binary($string);
return imap_base64(imap_binary($string));
case self::ENC_BASE64:
return imap_base64($string);
case self::ENC_QUOTED_PRINTABLE: