Issue 10392: Avoid "Friendica can't display this page at the moment"
This commit is contained in:
@@ -232,7 +232,7 @@ class BaseURL
|
||||
{
|
||||
$parsed = @parse_url($url);
|
||||
|
||||
if (empty($parsed)) {
|
||||
if (empty($parsed) || empty($parsed['host'])) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user