Merge pull request #187 from Wachizungu/fix-security-allowed-bookmark-domains-read-config
fix: typo in read security allowed bookmark domains configpull/190/head
commit
b8ff31a906
|
@ -103,7 +103,7 @@ class UserSettingsTable extends AppTable
|
||||||
'name' => $data['bookmark_name'],
|
'name' => $data['bookmark_name'],
|
||||||
'url' => $data['bookmark_url'],
|
'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)) {
|
if (!empty($restricted_domains)) {
|
||||||
$restricted_domains = explode(',', $restricted_domains);
|
$restricted_domains = explode(',', $restricted_domains);
|
||||||
$parsed = parse_url($bookmarkData['url']);
|
$parsed = parse_url($bookmarkData['url']);
|
||||||
|
|
Loading…
Reference in New Issue