Merge pull request #187 from Wachizungu/fix-security-allowed-bookmark-domains-read-config

fix: typo in read security allowed bookmark domains config
pull/190/head
Andras Iklody 2024-11-23 09:53:57 +01:00 committed by GitHub
commit b8ff31a906
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ class UserSettingsTable extends AppTable
'name' => $data['bookmark_name'],
'url' => $data['bookmark_url'],
];
$restricted_domains = Configure::read('Security.restrictions.allowed_bookmark_domains');
$restricted_domains = Configure::read('security.restrictions.allowed_bookmark_domains');
if (!empty($restricted_domains)) {
$restricted_domains = explode(',', $restricted_domains);
$parsed = parse_url($bookmarkData['url']);