aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Viewconnections.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2018-06-07 22:45:07 +0200
committerMario <mario@mariovavti.com>2018-06-08 08:33:38 +0200
commit19e509d997494f7c5c3688de844f2f1ba7c85696 (patch)
tree3db89f08bcb5db499c7bd88cd6a00cb86ce8eb7e /Zotlabs/Module/Viewconnections.php
parent38b230a1287ed32c2148664c458b4495b9691edd (diff)
downloadvolse-hubzilla-19e509d997494f7c5c3688de844f2f1ba7c85696.tar.gz
volse-hubzilla-19e509d997494f7c5c3688de844f2f1ba7c85696.tar.bz2
volse-hubzilla-19e509d997494f7c5c3688de844f2f1ba7c85696.zip
escape query string
(cherry picked from commit b3928f3d2a7c4c77df5ceba6fc29cbfcbe067dff)
Diffstat (limited to 'Zotlabs/Module/Viewconnections.php')
-rw-r--r--Zotlabs/Module/Viewconnections.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Viewconnections.php b/Zotlabs/Module/Viewconnections.php
index 8366e1325..0a5e86907 100644
--- a/Zotlabs/Module/Viewconnections.php
+++ b/Zotlabs/Module/Viewconnections.php
@@ -107,7 +107,7 @@ class Viewconnections extends \Zotlabs\Web\Controller {
killme();
}
else {
- $o .= "<script> var page_query = '" . $_GET['q'] . "'; var extra_args = '" . extra_query_args() . "' ; </script>";
+ $o .= "<script> var page_query = '" . escape_tags($_GET['q']) . "'; var extra_args = '" . extra_query_args() . "' ; </script>";
$tpl = get_markup_template("viewcontact_template.tpl");
$o .= replace_macros($tpl, array(
'$title' => t('View Connections'),