diff options
author | Mario <mario@mariovavti.com> | 2024-02-01 11:42:55 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2024-02-01 11:42:55 +0000 |
commit | dd204ec34f473d7e0b133d35b08f3c4dc8d3ffef (patch) | |
tree | 3d995b7602c48721cf486585e1f3e3aa4b81fb0c /Zotlabs/Module/Search.php | |
parent | b3a5dd8aa8c8990e6139fc817f9c9f706d2e0976 (diff) | |
download | volse-hubzilla-dd204ec34f473d7e0b133d35b08f3c4dc8d3ffef.tar.gz volse-hubzilla-dd204ec34f473d7e0b133d35b08f3c4dc8d3ffef.tar.bz2 volse-hubzilla-dd204ec34f473d7e0b133d35b08f3c4dc8d3ffef.zip |
start using uuid for internal reference instead of base64 encoded mid
Diffstat (limited to 'Zotlabs/Module/Search.php')
-rw-r--r-- | Zotlabs/Module/Search.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Module/Search.php b/Zotlabs/Module/Search.php index 6b1060570..335dcc6e7 100644 --- a/Zotlabs/Module/Search.php +++ b/Zotlabs/Module/Search.php @@ -75,13 +75,13 @@ class Search extends Controller { if ($f) { $mid = $f[0]['message_id']; foreach ($f as $m) { - if (str_starts_with($url, $m['message_id'])) { + if (basename($url) === $m['message_id']) { $mid = $m['message_id']; break; } } - goaway(z_root() . '/hq/' . gen_link_id($mid)); + goaway(z_root() . '/hq/' . $mid); } else { // try other fetch providers (e.g. diaspora, pubcrawl) |