aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Oep.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-09-06 19:22:39 +0000
committerMario <mario@mariovavti.com>2021-09-06 19:22:39 +0000
commitc1ce211b566a68b02f1197ef1bd0fc79385c1c48 (patch)
tree81d8b40691e73abcb5e988cd42d11d6a1e396c60 /Zotlabs/Module/Oep.php
parent3d40ea7f4417a1134dc53cc2e804af13370cd57b (diff)
parent1aa782633184f41733778ce75139f0d9a890e1e3 (diff)
downloadvolse-hubzilla-c1ce211b566a68b02f1197ef1bd0fc79385c1c48.tar.gz
volse-hubzilla-c1ce211b566a68b02f1197ef1bd0fc79385c1c48.tar.bz2
volse-hubzilla-c1ce211b566a68b02f1197ef1bd0fc79385c1c48.zip
Merge branch 'dev' into 6.2RC
Diffstat (limited to 'Zotlabs/Module/Oep.php')
-rw-r--r--Zotlabs/Module/Oep.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/Zotlabs/Module/Oep.php b/Zotlabs/Module/Oep.php
index 346bef519..8e048a487 100644
--- a/Zotlabs/Module/Oep.php
+++ b/Zotlabs/Module/Oep.php
@@ -77,8 +77,11 @@ class Oep extends \Zotlabs\Web\Controller {
$res = $matches[2];
}
- if(strpos($res,'b64.') === 0) {
- $res = base64url_decode(substr($res,4));
+ $res = unpack_link_id($res);
+
+ if ($res === false) {
+ notice(t('Malformed message id.') . EOL);
+ return;
}
$item_normal = item_normal();