Bugzilla – Attachment 162531 Details for
Bug 36190
op param for stateful requests must start with 'cud-'
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 36190: To not assume op is invalid if it is a TT variable
Bug-36190-To-not-assume-op-is-invalid-if-it-is-a-T.patch (text/plain), 904 bytes, created by
Jonathan Druart
on 2024-02-28 13:11:16 UTC
(
hide
)
Description:
Bug 36190: To not assume op is invalid if it is a TT variable
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2024-02-28 13:11:16 UTC
Size:
904 bytes
patch
obsolete
>From b398fffa5bfd59552ca26d618f0775609629a0b6 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 28 Feb 2024 14:11:01 +0100 >Subject: [PATCH] Bug 36190: To not assume op is invalid if it is a TT variable > >--- > xt/find-missing-op-in-forms.t | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/xt/find-missing-op-in-forms.t b/xt/find-missing-op-in-forms.t >index 266560e6ebe..8bb5d08b0c2 100755 >--- a/xt/find-missing-op-in-forms.t >+++ b/xt/find-missing-op-in-forms.t >@@ -65,7 +65,7 @@ sub catch_missing_op { > if ( $in_form && $line =~ m{</form} ) { > $closed_form = 0; > if ($has_op) { >- unless ( $op_value =~ m{^cud-} ) { >+ if ( $op_value !~ m{^cud-} && $op_value !~ m{^\[%} ) { > push @errors, $line_open_form; > } > } else { >-- >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 36190
:
162530
|
162531
|
163110
|
163111
|
163112
|
163149
|
163150
|
163151
|
163152
|
163162
|
163163
|
163164
|
163165