Bugzilla – Attachment 17531 Details for
Bug 10074
Encoding problems for login and installer
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 10074 - Encoding problems in templates (installer/InstallAuth.pm)
Bug-10074---Encoding-problems-in-templates-install.patch (text/plain), 1.16 KB, created by
Tomás Cohen Arazi (tcohen)
on 2013-04-18 19:28:39 UTC
(
hide
)
Description:
Bug 10074 - Encoding problems in templates (installer/InstallAuth.pm)
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2013-04-18 19:28:39 UTC
Size:
1.16 KB
patch
obsolete
>From b0416f05cc10378dcbfbbe77a1b03911e459355d Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@gmail.com> >Date: Thu, 18 Apr 2013 16:27:03 -0300 >Subject: [PATCH] Bug 10074 - Encoding problems in templates > (installer/InstallAuth.pm) > >Bug 6554 patched output_html_with_http_headers to encode utf8 data, and Templates.pm to expect utf8 data to be encoded. >The Installer page login screen outputs directly to STDOUT (InstallAuthAuth.pm does, WHICH IS WRONG!) and wasn't fixed to do the encoding first. > >This patch makes it use output_html_with_http_headers and solves the problem. > >Regards >To+ >--- > installer/InstallAuth.pm | 7 ++----- > 1 file changed, 2 insertions(+), 5 deletions(-) > >diff --git a/installer/InstallAuth.pm b/installer/InstallAuth.pm >index 0015a14..11d350a 100644 >--- a/installer/InstallAuth.pm >+++ b/installer/InstallAuth.pm >@@ -394,11 +394,8 @@ sub checkauth { > -HttpOnly => 1, > -expires => '' > ); >- print $query->header( >- -type => 'text/html; charset=utf-8', >- -cookie => $cookie >- ), >- $template->output; >+ >+ output_html_with_http_headers $query, $cookie, $template->output; > exit; > } > >-- >1.8.1.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 10074
:
17527
|
17528
|
17529
|
17530
|
17531
|
17532
|
17533
|
17534
|
17542
|
17545
|
17546
|
17548
|
17549
|
17550