ports/security/maia/files/patch-maiad
EK 8aa12b7bb4 security/maia: Update to patch upstream code for UTF-8
- This update includes a patch to fix upstream code that breaks UTF-8
   identification and/or conversion.
 - Fix WEBHOST option symlink.

PR:		268087
MFH:		2022Q4 (bug fixes)
2022-12-01 23:49:08 +00:00

12 lines
435 B
Text

--- maiad.orig 2022-12-01 19:36:50 UTC
+++ maiad
@@ -3833,9 +3833,6 @@ sub maia_store_mail($$$$$@) {
$subject = substr($subject, 0, 255) if length($subject) > 255;
$subject = untaint($subject);
$sender = substr($sender, 0, 255) if length($sender) > 255;
- if ($document_charset ne "") {
- from_to($contents, $document_charset, 'UTF-8');
- }
if (!$oversized) {
if ($dbtype =~ /^mysql$/si) { # MySQL