mirror of
https://github.com/nextcloud/server.git
synced 2026-04-15 22:11:17 -04:00
Sanitize group in togglegroups
This commit is contained in:
parent
588b51d88a
commit
63cc1ccacd
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue