diff options
author | Aleksander Machniak <alec@alec.pl> | 2022-04-17 10:20:01 +0300 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2022-04-17 10:20:01 +0300 |
commit | 6303d3177e03846e7ca56f92091a2979dbb5b59e (patch) | |
tree | 50253aed690b28376d5a43694e615170896b7ec1 | |
parent | 6fa6f89b02d69ca41dfbeba9fa0db1e8a3f5a9d0 (diff) |
Fix broken encoding of HTML content encapsulated in a RTF attachment (#8444)
-rw-r--r-- | CHANGELOG.md | 1 | ||||
-rw-r--r-- | program/lib/Roundcube/rcube_message.php | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 1b48afa2f..79df95df8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,7 @@ - Fix handling of message/rfc822 parts that are small and are multipart structures with a single part (#8458) - Fix bug where session could time out if DB and PHP timezone were different (#8303) - Fix bug where DSN flag state wasn't stored with a draft (#8371) +- Fix broken encoding of HTML content encapsulated in a RTF attachment (#8444) ## Release 1.6-beta diff --git a/program/lib/Roundcube/rcube_message.php b/program/lib/Roundcube/rcube_message.php index d9bd1ed14..6fd0d6f24 100644 --- a/program/lib/Roundcube/rcube_message.php +++ b/program/lib/Roundcube/rcube_message.php @@ -1097,6 +1097,7 @@ class rcube_message $tpart->mime_id = 'winmail.' . $part->mime_id . '.html'; $tpart->size = strlen($tnef_arr['message']); $tpart->body = $tnef_arr['message']; + $tpart->charset = RCUBE_CHARSET; $parts[] = $tpart; } |