aboutsummaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
authorSteve Clay <steve@mrclay.org>2013-03-31 15:33:37 -0700
committerSteve Clay <steve@mrclay.org>2013-03-31 15:33:37 -0700
commit9bbefd18fb86beff8766334459646bcb6d145d28 (patch)
tree4bb808dc000f0dfa42f0ff1a03d6e8c421f0363a /actions
parent574e9aefd04a6ea75f53d20756edb6a04a31ba2b (diff)
parent2d365ba900e40494abeb306e3a881c91e2099ba6 (diff)
downloadelgg-9bbefd18fb86beff8766334459646bcb6d145d28.tar.gz
elgg-9bbefd18fb86beff8766334459646bcb6d145d28.tar.bz2
Merge pull request #494 from mrclay/fc-plaintext
Allow friend collection names to store arbitrary plain text
Diffstat (limited to 'actions')
-rw-r--r--actions/friends/collections/add.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/friends/collections/add.php b/actions/friends/collections/add.php
index 9dc17b37e..e63a149f7 100644
--- a/actions/friends/collections/add.php
+++ b/actions/friends/collections/add.php
@@ -6,7 +6,7 @@
* @subpackage Friends.Collections
*/
-$collection_name = get_input('collection_name');
+$collection_name = htmlspecialchars(get_input('collection_name', '', false), ENT_QUOTES, 'UTF-8');
$friends = get_input('friends_collection');
if (!$collection_name) {