Revert "Bug 10019: Fix for userid containing UTF8 chars"
authorGalen Charlton <gmc@esilibrary.com>
Mon, 29 Apr 2013 22:05:22 +0000 (15:05 -0700)
committerGalen Charlton <gmc@esilibrary.com>
Mon, 29 Apr 2013 22:05:22 +0000 (15:05 -0700)
This reverts commit 7e90e1524f7e586dac0f98241ace430e5cbeac7f.

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

C4/Auth.pm

index 837ff12..811151b 100644 (file)
@@ -675,7 +675,6 @@ sub checkauth {
             $ip       = $session->param('ip');
             $lasttime = $session->param('lasttime');
             $userid   = $session->param('id');
-            utf8::decode($userid);
             $sessiontype = $session->param('sessiontype') || '';
         }
         if ( ( ($query->param('koha_login_context')) && ($query->param('userid') ne $session->param('id')) )
@@ -751,7 +750,6 @@ sub checkauth {
             -HttpOnly => 1
         );
     $userid = $query->param('userid');
-    utf8::decode($userid);
         if (   ( $cas && $query->param('ticket') )
             || $userid
             || ( my $pki_field = C4::Context->preference('AllowPKIAuth') ) ne