aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/lib/groups.php
diff options
context:
space:
mode:
authorPaweł Sroka <srokap@gmail.com>2013-09-12 05:59:18 +0200
committerPaweł Sroka <srokap@gmail.com>2013-09-12 05:59:18 +0200
commitc1ea910e3b3b0bcc27a214383c9f6355a05dd495 (patch)
tree3c22e2c1015e775c3993329f16e9296dc2b57c1a /mod/groups/lib/groups.php
parent96fd62420124d8b22e9a368532240a5c5066d628 (diff)
downloadelgg-c1ea910e3b3b0bcc27a214383c9f6355a05dd495.tar.gz
elgg-c1ea910e3b3b0bcc27a214383c9f6355a05dd495.tar.bz2
Added function for escaping query strings and fixed several XSRF vulnerabilities.
Diffstat (limited to 'mod/groups/lib/groups.php')
-rw-r--r--mod/groups/lib/groups.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/mod/groups/lib/groups.php b/mod/groups/lib/groups.php
index 77d7c09cc..aa8766e06 100644
--- a/mod/groups/lib/groups.php
+++ b/mod/groups/lib/groups.php
@@ -73,7 +73,8 @@ function groups_search_page() {
elgg_push_breadcrumb(elgg_echo('search'));
$tag = get_input("tag");
- $title = elgg_echo('groups:search:title', array($tag));
+ $display_query = _elgg_get_display_query($tag);
+ $title = elgg_echo('groups:search:title', array($display_query));
// groups plugin saves tags as "interests" - see groups_fields_setup() in start.php
$params = array(