Bug 17776: (QA follow-up) Consistent regex for Plack detection
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Fri, 5 Oct 2018 08:25:43 +0000 (10:25 +0200)
committerNick Clemens <nick@bywatersolutions.com>
Tue, 9 Oct 2018 15:02:49 +0000 (15:02 +0000)
commit7ce770ddc5d4caed4abd7c3026ea18a1dfdfbbdd
treee4ec0343a587398a4c2d1876a8c5579f71e55c22
parent897711bd473a2949cea3456d04f7c8d5302d9ad4
Bug 17776: (QA follow-up) Consistent regex for Plack detection

Synchronizing:
C4/Auth_with_shibboleth.pm:    if ( any { /(^psgi|^plack)/i } keys %ENV ) {
Koha/AuthUtils.pm:    if ( ( any { /(^psgi\.|^plack\.)/i } keys %ENV ) && $ENV{SCRIPT_NAME} =~ m,^/(intranet|opac)(.*), ) {
about.pl:if ( any { /(^psgi\.|^plack\.)/i } keys %ENV ) {

Actually we should move it to a subroutine. New report please.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
C4/Auth_with_shibboleth.pm