aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Channel.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-09-04 08:30:04 +0000
committerMario <mario@mariovavti.com>2021-09-04 08:30:04 +0000
commit793881b9f96d1c6879790a582240944a18bd724e (patch)
tree33feb06c0f81263057af83e54496e00363ad3acb /Zotlabs/Module/Channel.php
parent529824d010cf88c409d5ce894b72060caccae580 (diff)
downloadvolse-hubzilla-793881b9f96d1c6879790a582240944a18bd724e.tar.gz
volse-hubzilla-793881b9f96d1c6879790a582240944a18bd724e.tar.bz2
volse-hubzilla-793881b9f96d1c6879790a582240944a18bd724e.zip
more gen_link_id()
Diffstat (limited to 'Zotlabs/Module/Channel.php')
-rw-r--r--Zotlabs/Module/Channel.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Module/Channel.php b/Zotlabs/Module/Channel.php
index d6daaa0ad..34e1ea666 100644
--- a/Zotlabs/Module/Channel.php
+++ b/Zotlabs/Module/Channel.php
@@ -434,8 +434,8 @@ class Channel extends Controller {
if ((!$update) && (!$load)) {
- if (isset($decoded))
- $mid = 'b64.' . base64url_encode($mid);
+ //if we got a decoded hash we must encode it again before handing to javascript
+ $mid = gen_link_id($mid);
// This is ugly, but we can't pass the profile_uid through the session to the ajax updater,
// because browser prefetching might change it on us. We have to deliver it with the page.