aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Sse_bs.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2021-12-14 11:04:26 +0100
committerMario Vavti <mario@mariovavti.com>2021-12-14 11:04:26 +0100
commit5e9d267959cc49ce71b6ece60abb10ed5b8419e7 (patch)
treed1be3b8d246d724e88dec17d307fabb2c68e7121 /Zotlabs/Module/Sse_bs.php
parent1a1e6b681032286c14fa8c330e6bacd52c9a3355 (diff)
downloadvolse-hubzilla-5e9d267959cc49ce71b6ece60abb10ed5b8419e7.tar.gz
volse-hubzilla-5e9d267959cc49ce71b6ece60abb10ed5b8419e7.tar.bz2
volse-hubzilla-5e9d267959cc49ce71b6ece60abb10ed5b8419e7.zip
mod sse_bs: when processing returned mids, do not assume they are b64 encoded
Diffstat (limited to 'Zotlabs/Module/Sse_bs.php')
-rw-r--r--Zotlabs/Module/Sse_bs.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Sse_bs.php b/Zotlabs/Module/Sse_bs.php
index eaaeae7b7..3a13b0a6f 100644
--- a/Zotlabs/Module/Sse_bs.php
+++ b/Zotlabs/Module/Sse_bs.php
@@ -124,7 +124,7 @@ class Sse_bs extends Controller {
$str = '';
foreach($arr as $a) {
- $mids[] = '\'' . dbesc(@base64url_decode(substr($a,4))) . '\'';
+ $mids[] = '\'' . dbesc(unpack_link_id($a)) . '\'';
}
$str = implode(',', $mids);