Skip to content
Snippets Groups Projects
Commit 2aae34eb authored by Tim van Dijen's avatar Tim van Dijen
Browse files

Fix core

parent afd8a7dd
No related branches found
No related tags found
No related merge requests found
...@@ -44,7 +44,7 @@ assert(is_array($postData)); ...@@ -44,7 +44,7 @@ assert(is_array($postData));
assert(array_key_exists('url', $postData)); assert(array_key_exists('url', $postData));
assert(array_key_exists('post', $postData)); assert(array_key_exists('post', $postData));
if (!\SimpleSAML\Utils\HTTP::isValidURL($destination)) { if (!\SimpleSAML\Utils\HTTP::isValidURL($postData['url'])) {
throw new \SimpleSAML\Error\Exception('Invalid destination URL.'); throw new \SimpleSAML\Error\Exception('Invalid destination URL.');
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment