From 83f1c58b547c34a49aacc322aecf1fc54db4f85c Mon Sep 17 00:00:00 2001 From: Tim van Dijen <tvdijen@gmail.com> Date: Tue, 7 Sep 2021 12:53:13 +0200 Subject: [PATCH] Properly encode authsource for use in urls --- lib/SimpleSAML/Auth/Simple.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/SimpleSAML/Auth/Simple.php b/lib/SimpleSAML/Auth/Simple.php index c037ef991..419a2ca89 100644 --- a/lib/SimpleSAML/Auth/Simple.php +++ b/lib/SimpleSAML/Auth/Simple.php @@ -345,7 +345,7 @@ class Simple $returnTo = $httpUtils->getSelfURL(); } - $logout = Module::getModuleURL('core/logout/' . $this->authSource, [ + $logout = Module::getModuleURL('core/logout/' . urlencode($this->authSource), [ 'ReturnTo' => $returnTo, ]); -- GitLab