Bugzilla – Attachment 164446 Details for
Bug 36349
Login for SCO/SCI broken by CSRF
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 36349: Remove passing CGI params from sco/printslip.pl
Bug-36349-Remove-passing-CGI-params-from-scoprints.patch (text/plain), 1.14 KB, created by
David Cook
on 2024-04-05 05:55:44 UTC
(
hide
)
Description:
Bug 36349: Remove passing CGI params from sco/printslip.pl
Filename:
MIME Type:
Creator:
David Cook
Created:
2024-04-05 05:55:44 UTC
Size:
1.14 KB
patch
obsolete
>From 97242160f255e26161cf3aa5ca868ccb9aec2c9d Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 4 Apr 2024 10:23:18 +0200 >Subject: [PATCH] Bug 36349: Remove passing CGI params from sco/printslip.pl > >Signed-off-by: David Cook <dcook@prosentient.com.au> >--- > opac/sco/printslip.pl | 8 -------- > 1 file changed, 8 deletions(-) > >diff --git a/opac/sco/printslip.pl b/opac/sco/printslip.pl >index adac4dff2f9..cc24c0d9d66 100755 >--- a/opac/sco/printslip.pl >+++ b/opac/sco/printslip.pl >@@ -47,14 +47,6 @@ unless ( in_iprange(C4::Context->preference('SelfCheckAllowByIPRanges')) ) { > exit; > } > >-if (C4::Context->preference('AutoSelfCheckAllowed')) >-{ >- my $AutoSelfCheckID = C4::Context->preference('AutoSelfCheckID'); >- my $AutoSelfCheckPass = C4::Context->preference('AutoSelfCheckPass'); >- $input->param(-name=>'userid',-values=>[$AutoSelfCheckID]); >- $input->param(-name=>'password',-values=>[$AutoSelfCheckPass]); >- $input->param(-name=>'koha_login_context',-values=>['sco']); >-} > $input->param(-name=>'sco_user_login',-values=>[1]); > > # patrons still need to be able to print receipts >-- >2.30.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 36349
:
163356
|
163386
|
163514
|
163552
|
163553
|
164411
|
164412
|
164444
|
164445
| 164446 |
164447