From 8699690c76360c62e748f5557831243322655bfd Mon Sep 17 00:00:00 2001 From: "wurblzap%gmail.com" <> Date: Fri, 22 Jun 2007 12:29:24 +0000 Subject: Bug 383745: Incorrect charset specification in "please wait" screen when server push is in use. Patch by Marc Schumann , r=mkanat, a=mkanat --- Bugzilla/CGI.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Bugzilla/CGI.pm') diff --git a/Bugzilla/CGI.pm b/Bugzilla/CGI.pm index 7b76f6af0..b4e2aca6c 100644 --- a/Bugzilla/CGI.pm +++ b/Bugzilla/CGI.pm @@ -194,13 +194,13 @@ sub multipart_start { my %args = @_; - # CGI.pm::multipart_start doesn't accept a -charset parameter, so + # CGI.pm::multipart_start doesn't honour its own charset information, so # we do it ourselves here - if (defined $args{-charset} && defined $args{-type}) { + if (defined $self->charset() && defined $args{-type}) { # Remove any existing charset specifier $args{-type} =~ s/;.*$//; # and add the specified one - $args{-type} .= "; charset=$args{-charset}"; + $args{-type} .= '; charset=' . $self->charset(); } my $headers = $self->SUPER::multipart_start(%args); -- cgit v1.2.3-24-g4f1b