Bugzilla – Attachment 129743 Details for
Bug 29914
check_cookie_auth not strict enough
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 29914: Remove 'Use of uninitialized value ' warnings
Bug-29914-Remove-Use-of-uninitialized-value--warni.patch (text/plain), 872 bytes, created by
Jonathan Druart
on 2022-01-25 10:58:32 UTC
(
hide
)
Description:
Bug 29914: Remove 'Use of uninitialized value ' warnings
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2022-01-25 10:58:32 UTC
Size:
872 bytes
patch
obsolete
>From 07bb5ddfa5697d16e662c56b2d1bd1fc2e49fbb0 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 25 Jan 2022 11:57:01 +0100 >Subject: [PATCH] Bug 29914: Remove 'Use of uninitialized value ' warnings > >--- > t/db_dependent/Auth.t | 2 ++ > 1 file changed, 2 insertions(+) > >diff --git a/t/db_dependent/Auth.t b/t/db_dependent/Auth.t >index c925f1b7bad..f053bd115d8 100755 >--- a/t/db_dependent/Auth.t >+++ b/t/db_dependent/Auth.t >@@ -461,6 +461,8 @@ subtest 'check_cookie_auth' => sub { > $cgi->mock( 'cookie', sub { return; } ); > $cgi->mock( 'request_method', sub { return 'POST' } ); > >+ $ENV{REMOTE_ADDR} = '127.0.0.1'; >+ > # Setting authnotrequired=1 or we wont' hit the return but the end of the sub that prints headers > my ( $userid, $cookie, $sessionID, $flags ) = C4::Auth::checkauth( $cgi, 1 ); > >-- >2.25.1
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 29914
:
129634
|
129643
|
129652
|
129664
|
129682
|
129693
|
129694
|
129718
|
129719
|
129720
|
129725
|
129726
|
129727
|
129728
|
129729
|
129742
| 129743