diff options
author | Mario <mario@mariovavti.com> | 2021-03-22 10:01:32 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2021-03-22 13:41:39 +0100 |
commit | 81b4d919e5e040a79cdab1a85a23d0166ed53687 (patch) | |
tree | 74657e42952c0b96d7243b3e3ac11a0350142b2d /Zotlabs/Module | |
parent | 2d82e1bd6b79be74f7c1c40ef756bb786f86b019 (diff) | |
download | volse-hubzilla-81b4d919e5e040a79cdab1a85a23d0166ed53687.tar.gz volse-hubzilla-81b4d919e5e040a79cdab1a85a23d0166ed53687.tar.bz2 volse-hubzilla-81b4d919e5e040a79cdab1a85a23d0166ed53687.zip |
do not treat an URL including an @ like a webbie
(cherry picked from commit 35ce7dbeaba84ce1c93b7714f0beb5c472033bd7)
Diffstat (limited to 'Zotlabs/Module')
-rw-r--r-- | Zotlabs/Module/Search.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Search.php b/Zotlabs/Module/Search.php index 8a87d98f7..73dfa0816 100644 --- a/Zotlabs/Module/Search.php +++ b/Zotlabs/Module/Search.php @@ -101,7 +101,7 @@ class Search extends Controller { } // look for a naked webbie - if (strpos($search, '@') !== false) { + if (strpos($search,'@') !== false && strpos($search,'http') !== 0) { goaway(z_root() . '/directory' . '?f=1&navsearch=1&search=' . $search); } |