diff options
author | Dylan William Hardison <dylan@hardison.net> | 2018-07-17 05:25:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-17 05:25:27 +0200 |
commit | ac995e4ebf84924b6be9dba3fe8358f0a5857ad1 (patch) | |
tree | 66108ca7e4c20218653b7fcdc607b900f1c9a467 /Bugzilla/Util.pm | |
parent | 77dcbc804df9133207dd112a1a99821f66b2b9f7 (diff) | |
download | bugzilla-ac995e4ebf84924b6be9dba3fe8358f0a5857ad1.tar.gz bugzilla-ac995e4ebf84924b6be9dba3fe8358f0a5857ad1.tar.xz |
Bug 1476052 - Bugzilla mishandles diff attachments that are UTF-8 and contain U+FFFF
Diffstat (limited to 'Bugzilla/Util.pm')
-rw-r--r-- | Bugzilla/Util.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Bugzilla/Util.pm b/Bugzilla/Util.pm index a1316c7ef..a8477a62d 100644 --- a/Bugzilla/Util.pm +++ b/Bugzilla/Util.pm @@ -105,6 +105,7 @@ my %html_quote = ( # Bug 319331: Handle BiDi disruptions. sub html_quote { my $var = shift; + no warnings 'utf8'; $var =~ s/([&<>"@])/$html_quote{$1}/g; state $use_utf8 = Bugzilla->params->{'utf8'}; |