diff options
-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 3ee3239dd89..f76e22f51d2 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 = $_POST["group"]; +$group = htmlentities($_POST["group"]); if(!OC_Group::groupExists($group)){ OC_Group::createGroup($group); |