mirror of
https://github.com/friendica/friendica
synced 2024-12-22 18:00:16 +00:00
Update src/Network/Probe.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
This commit is contained in:
parent
4faad61a7c
commit
5ab976dd51
1 changed files with 1 additions and 1 deletions
|
@ -565,7 +565,7 @@ class Probe
|
|||
$nick = '';
|
||||
$addr = '';
|
||||
|
||||
if (array_key_exists('path', $parts) && strval($parts['path']) !== '') {
|
||||
if (array_key_exists('path', $parts) && trim(strval($parts['path']), '/') !== '') {
|
||||
$path_parts = explode('/', trim($parts['path'], '/'));
|
||||
|
||||
$nick = ltrim(end($path_parts), '@');
|
||||
|
|
Loading…
Reference in a new issue