]> git.koha-community.org Git - koha.git/commit
Bug 16818: External auth redirect broken under Plack
authorJesse Weaver <jweaver@bywatersolutions.com>
Fri, 8 Jul 2016 22:01:19 +0000 (16:01 -0600)
committerJulian Maurice <julian.maurice@biblibre.com>
Wed, 17 Aug 2016 13:35:24 +0000 (15:35 +0200)
commita3c8feea151208d97ab75b1a9e23f03535bb6b46
tree948fd795a87fd23a00f6529a42cff05cac2ffbc5
parent10d9c7101274d2a303281eeee1b59d9f9e6b892f
Bug 16818: External auth redirect broken under Plack

Test plan:

0) Have either CAS or Shibboleth authentication enabled under Plack.
1) Hover over the authentication link on the staff client or OPAC, and
   notice that it has either '.../opac/...' or '.../intranet/...' instead
   of '.../cgi-bin/koha/...'. (This will be a complete dealbreaker for CAS
   authentication.)
2) Apply patch.
3) Check links again; they should now have the correct paths.

Signed-off-by: Matthias Meusburger <matthias.meusburger@biblibre.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Did not test CAS or Shibboleth, but no regression found.

Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com>
(cherry picked from commit d475dae77313e8f0ee11146ce824d019351cbc5f)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
(cherry picked from commit 0c5c0a50b87ceeaa8f76e18240e279a96596222a)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
C4/Auth.pm
C4/Auth_with_cas.pm
C4/Auth_with_shibboleth.pm
Koha/AuthUtils.pm