diff --git a/src/Network/Probe.php b/src/Network/Probe.php index e74b43734..87c28619d 100644 --- a/src/Network/Probe.php +++ b/src/Network/Probe.php @@ -684,7 +684,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 []; }