From d11b8f99e9c0a9ba2fa8aed2900614ac70b96435 Mon Sep 17 00:00:00 2001 From: Nick Date: Tue, 10 Sep 2019 14:04:43 +0000 Subject: [PATCH] Bug 23526: Don't use encoded question mark in shib_login_url To test: 1 - Enable shib 2 - Do a search 3 - Try to login from search 4 - Get an error 5 - Apply patch 6 - Retry Note: You don't haveto really enable shib, you can simply enable it in koha-conf.xml and check the URLs --- C4/Auth_with_shibboleth.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Auth_with_shibboleth.pm b/C4/Auth_with_shibboleth.pm index bb0a342fd1..55cee73569 100644 --- a/C4/Auth_with_shibboleth.pm +++ b/C4/Auth_with_shibboleth.pm @@ -63,7 +63,7 @@ sub login_shib_url { my $param = _get_uri() . get_script_name(); if ( $query->query_string() ) { - $param = $param . '%3F' . $query->query_string(); + $param = $param . '?' . $query->query_string(); } my $uri = _get_uri() . "/Shibboleth.sso/Login?target=$param"; return $uri; -- 2.11.0