mirror of
https://github.com/friendica/friendica
synced 2025-04-30 15:04:23 +02:00
Merge pull request #12360 from MrPetovan/bug/deprecated
Address several Deprecated messages
This commit is contained in:
commit
2722ef82cf
12 changed files with 30 additions and 25 deletions
|
@ -687,7 +687,7 @@ class Probe
|
|||
}
|
||||
|
||||
$parts = parse_url($uri);
|
||||
if (empty($parts['scheme']) && empty($parts['host']) && !strstr($parts['path'], '@')) {
|
||||
if (empty($parts['scheme']) && empty($parts['host']) && (empty($parts['path']) || strpos($parts['path'], '@') === false)) {
|
||||
Logger::info('URI was not detectable', ['uri' => $uri]);
|
||||
return [];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue