diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2012-06-21 13:57:18 +0200 |
---|---|---|
committer | Bjoern Schiessle <schiessle@owncloud.com> | 2012-06-21 13:57:18 +0200 |
commit | 34739b7ec5b5bb26f993704b169937d3f04ed7c7 (patch) | |
tree | 93007cda15d450f33cc92635ee47966021a81bcb /settings/ajax/togglegroups.php | |
parent | 09d2f767276f6054148425966fda89e189d621f0 (diff) | |
download | nextcloud-server-34739b7ec5b5bb26f993704b169937d3f04ed7c7.tar.gz nextcloud-server-34739b7ec5b5bb26f993704b169937d3f04ed7c7.zip |
use new sanitizeHTML() function
Diffstat (limited to 'settings/ajax/togglegroups.php')
-rw-r--r-- | settings/ajax/togglegroups.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/ajax/togglegroups.php b/settings/ajax/togglegroups.php index f76e22f51d2..7773c1049c3 100644 --- a/settings/ajax/togglegroups.php +++ b/settings/ajax/togglegroups.php @@ -10,7 +10,7 @@ $error = "add user to"; $action = "add"; $username = $_POST["username"]; -$group = htmlentities($_POST["group"]); +$group = OC_Util::sanitizeHTML($_POST["group"]); if(!OC_Group::groupExists($group)){ OC_Group::createGroup($group); |