From 850d559cef2ba59e5cc1719dd78dbd1105c76506 Mon Sep 17 00:00:00 2001 From: Jeroen Pinoy Date: Fri, 22 Nov 2024 22:40:25 +0100 Subject: [PATCH] fix: typo in read security allowed bookmark domains config --- src/Model/Table/UserSettingsTable.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Model/Table/UserSettingsTable.php b/src/Model/Table/UserSettingsTable.php index 0bbde9a..0fc1dcc 100644 --- a/src/Model/Table/UserSettingsTable.php +++ b/src/Model/Table/UserSettingsTable.php @@ -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']);