From ecb0ff8bbef93cabfd7a346254bb928a5af1a915 Mon Sep 17 00:00:00 2001 From: Jonathan Druart 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 --- 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