Bugzilla – Attachment 162960 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 batch_records_ajax.pl with GET
Bug-36195-Replace-POST-batchrecordsajaxpl-with-GET.patch (text/plain), 1.27 KB, created by
Jonathan Druart
on 2024-03-08 12:54:54 UTC
(
hide
)
Description:
Bug 36195: Replace POST batch_records_ajax.pl with GET
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2024-03-08 12:54:54 UTC
Size:
1.27 KB
patch
obsolete
>From d14ebbca6e105e5b07cf1b877249bf665d366784 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Fri, 8 Mar 2024 13:53:17 +0100 >Subject: [PATCH] Bug 36195: Replace POST batch_records_ajax.pl with GET > >We retrieve a list of records for DT, it does not need to be a POST >request. > >Test plan: >1. Stage a batch >2. When it's done, click on "view batch" >=> Without this patch the page loads but pops an alert that says "403: Forbidden" and table stays empty >--- > .../intranet-tmpl/prog/en/modules/tools/manage-marc-import.tt | 1 - > 1 file changed, 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/manage-marc-import.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/manage-marc-import.tt >index 54e2de41b23..f07f35a220d 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/manage-marc-import.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/manage-marc-import.tt >@@ -468,7 +468,6 @@ > "serverSide": true, > ajax: { > url: "batch_records_ajax.pl", >- type: "POST", > data: function ( d ) { > d.import_batch_id = [% import_batch_id | html %]; > return d; >-- >2.34.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 36195
:
162668
|
162960
|
163049
|
163050