Bug 16818: External auth redirect broken under Plack
authorJesse Weaver <jweaver@bywatersolutions.com>
Fri, 8 Jul 2016 22:01:19 +0000 (16:01 -0600)
committerBrendan Gallagher <brendan@bywatersolutions.com>
Thu, 4 Aug 2016 19:42:44 +0000 (19:42 +0000)
commitd475dae77313e8f0ee11146ce824d019351cbc5f
tree4a453305990d4ac5a64a6e28f05be96ad03b9ed3
parent6122b8fe6ee73b9e0a26312507912d947c6d58f7
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>
C4/Auth.pm
C4/Auth_with_cas.pm
C4/Auth_with_shibboleth.pm
Koha/AuthUtils.pm