From 2ccf81dec1fbe4e215ea47700a4e006420318621 Mon Sep 17 00:00:00 2001 From: Frédéric Buclin Date: Sun, 15 Mar 2015 13:50:28 +0100 Subject: Bug 902395: Enforce utf8 = true for all installations and remove the utf8 parameter r=dkl a=sgreen --- Bugzilla/CGI.pm | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'Bugzilla/CGI.pm') diff --git a/Bugzilla/CGI.pm b/Bugzilla/CGI.pm index fb9719547..0b1712d2f 100644 --- a/Bugzilla/CGI.pm +++ b/Bugzilla/CGI.pm @@ -73,7 +73,7 @@ sub new { } # Send appropriate charset - $self->charset(Bugzilla->params->{'utf8'} ? 'UTF-8' : ''); + $self->charset('UTF-8'); # Redirect to urlbase/sslbase if we are not viewing an attachment. if ($self->url_is_attachment_base and $script ne 'attachment.cgi') { @@ -378,9 +378,7 @@ sub param { } # Fix UTF-8-ness of input parameters. - if (Bugzilla->params->{'utf8'}) { - @result = map { _fix_utf8($_) } @result; - } + @result = map { _fix_utf8($_) } @result; return wantarray ? @result : $result[0]; } -- cgit v1.2.3-24-g4f1b