aboutsummaryrefslogtreecommitdiffstats
path: root/Bugzilla/BugMail.pm
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@netscape.net>2024-02-14 18:10:03 +0100
committerFrédéric Buclin <LpSolit@netscape.net>2024-02-14 18:10:03 +0100
commitaf88c9b35666d4042a8ccad2b4ca675f3c36ddea (patch)
tree5a7cff5f7211c69e86f9edd4f22580ee1938cff6 /Bugzilla/BugMail.pm
parent823fa33c1b7be9750c6334e8eb55977419bb984d (diff)
downloadbugs-master.tar
bugs-master.tar.gz
bugs-master.tar.bz2
bugs-master.tar.xz
bugs-master.zip
Replace noncharacters in bugmails by the substitution character (mgaHEADmaster
Diffstat (limited to 'Bugzilla/BugMail.pm')
-rw-r--r--Bugzilla/BugMail.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/Bugzilla/BugMail.pm b/Bugzilla/BugMail.pm
index 110a1ffaf..e98dae149 100644
--- a/Bugzilla/BugMail.pm
+++ b/Bugzilla/BugMail.pm
@@ -21,6 +21,7 @@ use Bugzilla::Mailer;
use Bugzilla::Hook;
use Bugzilla::MIME;
+use Encode qw();
use Date::Parse;
use Date::Format;
use Scalar::Util qw(blessed);
@@ -451,6 +452,7 @@ sub _generate_bugmail {
encoding => 'quoted-printable',
},
body_str => $msg_text,
+ encode_check => Encode::FB_DEFAULT
)
);
if ($user->setting('email_format') eq 'html') {
@@ -463,6 +465,7 @@ sub _generate_bugmail {
encoding => 'quoted-printable',
},
body_str => $msg_html,
+ encode_check => Encode::FB_DEFAULT
);
}