Skip to content

Commit c0c3765

Browse files
committed
Restore trusted urls set to null
1 parent ddad4a3 commit c0c3765

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/SimpleSAML/Utils/HTTP.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ public function checkURLAllowed(string $url, array $trustedSites = null): string
393393

394394
// get the white list of domains
395395
if ($trustedSites === null) {
396-
$trustedSites = Configuration::getInstance()->getOptionalArray('trusted.url.domains', []);
396+
$trustedSites = Configuration::getInstance()->getOptionalArray('trusted.url.domains', null);
397397
}
398398

399399
// validates the URL's host is among those allowed

0 commit comments

Comments
 (0)