Bugzilla – Attachment 183232 Details for
Bug 38928
Openurl 'id' or 'rft_id' may contain key information
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 38928: (QA follow-up)
Bug-38928-QA-follow-up.patch (text/plain), 1.39 KB, created by
Baptiste Wojtkowski (bwoj)
on 2025-06-13 08:33:24 UTC
(
hide
)
Description:
Bug 38928: (QA follow-up)
Filename:
MIME Type:
Creator:
Baptiste Wojtkowski (bwoj)
Created:
2025-06-13 08:33:24 UTC
Size:
1.39 KB
patch
obsolete
>From ff7f342db5200af4c010b85978ec62ec7efc7409 Mon Sep 17 00:00:00 2001 >From: Baptiste Wojtkowski <baptiste.wojtkowski@biblibre.com> >Date: Fri, 13 Jun 2025 10:29:11 +0200 >Subject: [PATCH] Bug 38928: (QA follow-up) > >--- > Koha/ILL/Backend/Standard.pm | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/Koha/ILL/Backend/Standard.pm b/Koha/ILL/Backend/Standard.pm >index a4c54788..444c0074 100644 >--- a/Koha/ILL/Backend/Standard.pm >+++ b/Koha/ILL/Backend/Standard.pm >@@ -1095,7 +1095,7 @@ sub _openurl_to_ill { > # Otherwise, pass it through untransformed and maybe move it > # to our custom parameters array > if ( !exists $ignore->{$meta_key} ) { >- if ($meta_key eq 'id' || $meta_key eq 'rft_id') { >+ if ( $meta_key eq 'id' || $meta_key eq 'rft_id' ) { > if ( $params->{other}->{$meta_key} =~ /:/ ) { > my ( $k, $v ) = split /:/, $params->{other}->{$meta_key}, 2; > if ( defined $k && defined $v ) { >@@ -1104,7 +1104,7 @@ sub _openurl_to_ill { > } else { > $return->{doi} = $params->{other}->{$meta_key}; > } >- }else{ >+ } else { > push @{$custom_key}, $meta_key; > push @{$custom_value}, $params->{other}->{$meta_key}; > } >-- >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 38928
:
176807
|
180050
|
183231
| 183232