From 07c5a51ec621cc013ae7c14d1c66979e9e022f7c Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Mon, 9 Sep 2019 12:32:46 +0100 Subject: [PATCH] Bug 18506: (follow-up) Set redirect type to 303 This should ensure query parameters are passed through the redirection. Signed-off-by: Matthias Meusburger --- C4/Auth.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Auth.pm b/C4/Auth.pm index cc7f312..e541155 100644 --- a/C4/Auth.pm +++ b/C4/Auth.pm @@ -1339,7 +1339,7 @@ sub checkauth { #If shibOnly is enabled just go ahead and redirect directly if ( (($type eq 'opac') && C4::Context->preference('opacShibOnly')) || (($type ne 'opac') && C4::Context->preference('staffShibOnly')) ) { my $redirect_url = login_shib_url( $query ); - print $query->redirect($redirect_url); + print $query->redirect( -uri => "$redirect_url", -status => 303 ); safe_exit; } -- 2.7.4