mirror of
https://github.com/friendica/friendica
synced 2025-05-01 03:04:23 +02:00
Issue 3501: Mail contacts can be added again
This commit is contained in:
parent
ff16a6a9d1
commit
2079caea14
3 changed files with 6 additions and 5 deletions
|
@ -561,12 +561,12 @@ class Network
|
|||
public static function isUrlBlocked($url)
|
||||
{
|
||||
$host = @parse_url($url, PHP_URL_HOST);
|
||||
if (! $host) {
|
||||
return true;
|
||||
if (!$host) {
|
||||
return false;
|
||||
}
|
||||
|
||||
$domain_blocklist = Config::get('system', 'blocklist', []);
|
||||
if (! $domain_blocklist) {
|
||||
if (!$domain_blocklist) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue