Skip to content

Commit b8ff31a

Browse files
authored
Merge pull request #187 from Wachizungu/fix-security-allowed-bookmark-domains-read-config
fix: typo in read security allowed bookmark domains config
2 parents 1702b84 + 850d559 commit b8ff31a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Model/Table/UserSettingsTable.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ public function saveBookmark($user, $data)
103103
'name' => $data['bookmark_name'],
104104
'url' => $data['bookmark_url'],
105105
];
106-
$restricted_domains = Configure::read('Security.restrictions.allowed_bookmark_domains');
106+
$restricted_domains = Configure::read('security.restrictions.allowed_bookmark_domains');
107107
if (!empty($restricted_domains)) {
108108
$restricted_domains = explode(',', $restricted_domains);
109109
$parsed = parse_url($bookmarkData['url']);

0 commit comments

Comments
 (0)