Bugzilla – Attachment 172381 Details for
Bug 37365
Bad redirect when adding a patron message from members/files.pl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 37365: (QA follow-up) Add borrowernumber to referrer url
Bug-37365-QA-follow-up-Add-borrowernumber-to-refer.patch (text/plain), 1.05 KB, created by
Marcel de Rooy
on 2024-10-04 09:07:02 UTC
(
hide
)
Description:
Bug 37365: (QA follow-up) Add borrowernumber to referrer url
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2024-10-04 09:07:02 UTC
Size:
1.05 KB
patch
obsolete
>From 94334a318ced3aa499e69dd70f28354332b8dd92 Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Fri, 4 Oct 2024 09:04:18 +0000 >Subject: [PATCH] Bug 37365: (QA follow-up) Add borrowernumber to referrer url >Content-Type: text/plain; charset=utf-8 > >Since we post to add_message, we need to ensure that the >borrowernumber is added to the referrer url. This 'tric' is >already done there for another form. > >Test plan: >See original plan. > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > circ/add_message.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/circ/add_message.pl b/circ/add_message.pl >index 08cf1e4d9f..aa59914556 100755 >--- a/circ/add_message.pl >+++ b/circ/add_message.pl >@@ -97,7 +97,7 @@ if ( $op eq 'cud-edit_message' && $message_id ) { > > my $url = $input->referer; > if ($url) { >- if ( $url =~ m|circulation\.pl$| ) { >+ if ( $url =~ m/(circulation\.pl|members\/files\.pl)$/ ) { > > # Trick for POST form from batch checkouts > $url .= "?borrowernumber=$borrowernumber"; >-- >2.39.5
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 37365
:
169028
|
169034
|
172381
|
172382
|
174061
|
174062