diff --git a/www/logout.php b/www/logout.php index 220449af3eb27ae577ed8472fcfea48f9086b85b..b87ca89b77438a8002021d9ee9a9e0cadf5565c3 100644 --- a/www/logout.php +++ b/www/logout.php @@ -5,8 +5,7 @@ require_once('_include.php'); $config = SimpleSAML_Configuration::getInstance(); if (array_key_exists('link_href', $_REQUEST)) { - $link = (string) $_REQUEST['link_href']; - $link = \SimpleSAML\Utils\HTTP::normalizeURL($link); + $link = \SimpleSAML\Utils\HTTP::checkURLAllowed($_REQUEST['link_href']); } else { $link = 'index.php'; }