mirror of
https://github.com/friendica/friendica
synced 2025-04-24 03:10:11 +00:00
Support for contact uri that aren't HTTP URLs
This commit is contained in:
parent
b5a1f13d7c
commit
dfaa4b89c7
3 changed files with 6 additions and 6 deletions
|
@ -2044,7 +2044,7 @@ class Item
|
|||
// Remove the scheme to make sure that "https" and "http" doesn't make a difference
|
||||
unset($parsed['scheme']);
|
||||
|
||||
$hostPart = $host ?? $parsed['host'] ?? '';
|
||||
$hostPart = $host ?: $parsed['host'] ?? '';
|
||||
if (!$hostPart) {
|
||||
Logger::warning('Empty host GUID part', ['uri' => $uri, 'host' => $host, 'parsed' => $parsed, 'callstack' => System::callstack(10)]);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue