aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Display.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2019-03-18 21:30:25 +0100
committerMario Vavti <mario@mariovavti.com>2019-03-18 21:30:25 +0100
commit968c6ed8be580c1098587738fefa27b31dc4f5ef (patch)
tree58bd02f3bffd7c9016246fd0ca7994a9b7386d86 /Zotlabs/Module/Display.php
parent2ec3e4a912777501f232d6255fe8ba5d0c147eee (diff)
downloadvolse-hubzilla-968c6ed8be580c1098587738fefa27b31dc4f5ef.tar.gz
volse-hubzilla-968c6ed8be580c1098587738fefa27b31dc4f5ef.tar.bz2
volse-hubzilla-968c6ed8be580c1098587738fefa27b31dc4f5ef.zip
some more xss prevention
Diffstat (limited to 'Zotlabs/Module/Display.php')
-rw-r--r--Zotlabs/Module/Display.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Display.php b/Zotlabs/Module/Display.php
index 04e5f9fce..258aac556 100644
--- a/Zotlabs/Module/Display.php
+++ b/Zotlabs/Module/Display.php
@@ -233,7 +233,7 @@ class Display extends \Zotlabs\Web\Controller {
'$dbegin' => '',
'$verb' => '',
'$net' => '',
- '$mid' => $mid
+ '$mid' => (($mid) ? urlencode($mid) : '')
));
head_add_link([