]> 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)
committerFrédéric Demians <f.demians@tamil.fr>
Fri, 5 Aug 2016 06:51:45 +0000 (08:51 +0200)
commit0c5c0a50b87ceeaa8f76e18240e279a96596222a
treeab7afd9958bfbca3f5091f5e5ea92c603f54baa8
parentf55ac205bfc2c5f68fb173eaf6af45939de72639
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>
C4/Auth.pm
C4/Auth_with_cas.pm
C4/Auth_with_shibboleth.pm
Koha/AuthUtils.pm