[Koha-bugs] [Bug 20854] Redirect after logout with CAS 3.0 broken
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Sat Apr 17 15:33:23 CEST 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20854
--- Comment #11 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
For comparison, this is the change we have been using in production for years
now:
- print $query->redirect( $cas->logout_url(url => $uri));
+ my $logout_url = $cas->logout_url(url => $uri);
+ $logout_url =~ s/url/service/;
+ print $query->redirect( $logout_url );
This is from the patch:
+ my $logout_url = $cas->logout_url( url => $uri );
+ $logout_url =~ s/url=/service=/
+ if C4::Context->preference('casServerVersion') eq '3';
+
+ print $query->redirect($logout_url);
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list