Revert "Bug 10074 - Encoding problems at login time"
authorGalen Charlton <gmc@esilibrary.com>
Mon, 29 Apr 2013 22:10:23 +0000 (15:10 -0700)
committerGalen Charlton <gmc@esilibrary.com>
Mon, 29 Apr 2013 22:10:23 +0000 (15:10 -0700)
This reverts commit 5805b5f363bd657d3dac6aeba225438bf80cae9b.

Rolling back bug 6554 work until we have more comprehensive tests.

C4/Auth.pm

index 811151b..ca061b5 100644 (file)
@@ -19,7 +19,6 @@ package C4::Auth;
 
 use strict;
 use warnings;
-
 use Digest::MD5 qw(md5_base64);
 use Storable qw(thaw freeze);
 use URI::Escape;
@@ -1066,10 +1065,14 @@ sub checkauth {
         LibraryName => C4::Context->preference("LibraryName"),
     );
     $template->param( %info );
-
-    require C4::Output;
-    C4::Output::output_html_with_http_headers( $query, $cookie,
-                                               $template->output);
+#    $cookie = $query->cookie(CGISESSID => $session->id
+#   );
+    print $query->header(
+        -type   => 'text/html',
+        -charset => 'utf-8',
+        -cookie => $cookie
+      ),
+      $template->output;
     safe_exit;
 }