Skip to content
Snippets Groups Projects
Verified Commit 5653ce6e authored by Pavel Břoušek's avatar Pavel Břoušek
Browse files

chore: fix violations

parent 62358dc7
No related branches found
No related tags found
No related merge requests found
Pipeline #192912 passed with warnings
{
"name": "cesnet/simplesamlphp-module-campusmultiauth",
"description": "SimpleSAMLphp module which provides password based and federated authentication on single page",
"type": "simplesamlphp-module",
"keywords": [
"simplesamlphp"
......
......@@ -181,8 +181,7 @@ if (!empty($timeoutDialogConfig)) {
if (isset($state['SPMetadata']['RelayState'])) {
$rsUrl = filter_var(
$state['SPMetadata']['RelayState'],
FILTER_VALIDATE_URL,
FILTER_FLAG_SCHEME_REQUIRED | FILTER_FLAG_HOST_REQUIRED
FILTER_VALIDATE_URL
);
if ($rsUrl !== false) {
$restartUrl = $rsUrl;
......@@ -192,8 +191,7 @@ if (!empty($timeoutDialogConfig)) {
if (isset($state['saml:RelayState'])) {
$rsUrl = filter_var(
$state['saml:RelayState'],
FILTER_VALIDATE_URL,
FILTER_FLAG_SCHEME_REQUIRED | FILTER_FLAG_HOST_REQUIRED
FILTER_VALIDATE_URL
);
if ($rsUrl !== false) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment