aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Directory.php
diff options
context:
space:
mode:
authorMike Macgirvin <mike@macgirvin.com>2019-03-19 09:05:27 +1100
committerMike Macgirvin <mike@macgirvin.com>2019-03-19 09:05:27 +1100
commit6a918dbde9b89980e952dd5fe09286de184aa760 (patch)
treed7bf4ea30d0204e508b924d904e2916bc5431705 /Zotlabs/Module/Directory.php
parent026b96b8f2aebff50f594aa2a184a60a66cc3fd4 (diff)
parentd486b030896d1b4d798dc3ea1806e492cdd4983a (diff)
downloadvolse-hubzilla-6a918dbde9b89980e952dd5fe09286de184aa760.tar.gz
volse-hubzilla-6a918dbde9b89980e952dd5fe09286de184aa760.tar.bz2
volse-hubzilla-6a918dbde9b89980e952dd5fe09286de184aa760.zip
Merge branch 'dev' of https://framagit.org/hubzilla/core into dev
Diffstat (limited to 'Zotlabs/Module/Directory.php')
-rw-r--r--Zotlabs/Module/Directory.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Directory.php b/Zotlabs/Module/Directory.php
index c29fa8326..5448a4816 100644
--- a/Zotlabs/Module/Directory.php
+++ b/Zotlabs/Module/Directory.php
@@ -399,7 +399,7 @@ class Directory extends \Zotlabs\Web\Controller {
$dirtitle = (($globaldir) ? t('Global Directory') : t('Local Directory'));
- $o .= "<script> var page_query = '" . escape_tags($_GET['q']) . "'; var extra_args = '" . extra_query_args() . "' ; divmore_height = " . intval($maxheight) . "; </script>";
+ $o .= "<script> var page_query = '" . escape_tags(urlencode($_GET['q'])) . "'; var extra_args = '" . extra_query_args() . "' ; divmore_height = " . intval($maxheight) . "; </script>";
$o .= replace_macros($tpl, array(
'$search' => $search,
'$desc' => t('Find'),