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 do have to fully configure shibboleth, you can simply enable it in koha-conf.xml and check the URLs.
Signed-off-by: Matthias Meusburger <matthias.meusburger@biblibre.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 16aa7d1c8a)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit da602a96ad)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
Nick 2019-09-10 14:04:43 +00:00 committed by Lucas Gass
parent d73d1a07a7
commit a70e750fa0
1 changed files with 1 additions and 1 deletions

View File

@ -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;