Bugzilla – Attachment 163050 Details for
Bug 36195
CSRF - testing reports
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 36195: Replace POST in itemsearch.tt with GET
Bug-36195-Replace-POST-in-itemsearchtt-with-GET.patch (text/plain), 1.24 KB, created by
Brendan Lawlor
on 2024-03-11 17:42:26 UTC
(
hide
)
Description:
Bug 36195: Replace POST in itemsearch.tt with GET
Filename:
MIME Type:
Creator:
Brendan Lawlor
Created:
2024-03-11 17:42:26 UTC
Size:
1.24 KB
patch
obsolete
>From 28f445587ee8e7f70852367f2c9e37ae2c4ebcea Mon Sep 17 00:00:00 2001 >From: Brendan Lawlor <blawlor@clamsnet.org> >Date: Mon, 11 Mar 2024 17:32:08 +0000 >Subject: [PATCH] Bug 36195: Replace POST in itemsearch.tt with GET > >We retrieve a list of records for DT, it does not need to be a POST >request. > >Test plan: > >1. Try an item search >2. The page loads but pops an alert that says "403: Forbidden" and table stays empty >3. Apply patch >4. Try an item search again and the table loads results >--- > koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt | 1 - > 1 file changed, 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt >index b3a89e508c..db703115b3 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt >@@ -478,7 +478,6 @@ > "processing": true, > "ajax": { > url: '/cgi-bin/koha/catalogue/itemsearch.pl', >- type: 'POST', > data: function ( d ) { > for (i in params) { > d[params[i].name] = params[i].value; >-- >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 36195
:
162668
|
162960
|
163049
|
163050