Issue 10392: Avoid "Friendica can't display this page at the moment"

This commit is contained in:
Michael 2021-06-16 13:23:07 +00:00
parent 9039d812f1
commit ae5f57233e
3 changed files with 3 additions and 3 deletions

View file

@ -232,7 +232,7 @@ class BaseURL
{
$parsed = @parse_url($url);
if (empty($parsed)) {
if (empty($parsed) || empty($parsed['host'])) {
return false;
}