Bugzilla – Attachment 121099 Details for
Bug 28367
Wrong plack condition in C4/Auth_with_shibboleth.pm
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 28367: (follow-up) Fix plack condition in C4/Auth_with_shibboleth.pm
Bug-28367-follow-up-Fix-plack-condition-in-C4Authw.patch (text/plain), 1.13 KB, created by
Jonathan Druart
on 2021-05-18 09:27:04 UTC
(
hide
)
Description:
Bug 28367: (follow-up) Fix plack condition in C4/Auth_with_shibboleth.pm
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2021-05-18 09:27:04 UTC
Size:
1.13 KB
patch
obsolete
>From ecb0ff8bbef93cabfd7a346254bb928a5af1a915 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 18 May 2021 11:26:25 +0200 >Subject: [PATCH] Bug 28367: (follow-up) Fix plack condition in > C4/Auth_with_shibboleth.pm > >There were 2 occurrences! > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > C4/Auth_with_shibboleth.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/C4/Auth_with_shibboleth.pm b/C4/Auth_with_shibboleth.pm >index 2b59f86c053..0f11d353ef0 100644 >--- a/C4/Auth_with_shibboleth.pm >+++ b/C4/Auth_with_shibboleth.pm >@@ -132,7 +132,7 @@ sub _autocreate { > my %borrower = ( $config->{matchpoint} => $match ); > > while ( my ( $key, $entry ) = each %{$config->{'mapping'}} ) { >- if ( any { /(^psgi|^plack)/i } keys %ENV ) { >+ if ( any { /(^psgi\.|^plack\.)/i } keys %ENV ) { > $borrower{$key} = ( $entry->{'is'} && $ENV{"HTTP_" . uc($entry->{'is'}) } ) || $entry->{'content'} || ''; > } else { > $borrower{$key} = ( $entry->{'is'} && $ENV{ $entry->{'is'} } ) || $entry->{'content'} || ''; >-- >2.20.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 28367
:
121094
| 121099