diff --git a/src/Module/Search/Index.php b/src/Module/Search/Index.php index a42f9ddaff..122b6c569b 100644 --- a/src/Module/Search/Index.php +++ b/src/Module/Search/Index.php @@ -273,7 +273,7 @@ class Index extends BaseSearch */ private static function tryRedirectToPost(string $search) { - if (parse_url($search, PHP_URL_SCHEME) == '') { + if (!parse_url($search, PHP_URL_SCHEME) && !preg_match('=^[a-z]+://=', $search)) { return; }