mirror of
https://github.com/nextcloud/server.git
synced 2026-04-29 01:50:33 -04:00
Sanitzing user input
This commit is contained in:
parent
f8337c9d72
commit
d294373f47
1 changed files with 1 additions and 1 deletions
|
|
@ -47,7 +47,7 @@ if ($_POST) {
|
|||
// fill template
|
||||
$tmpl = new OCP\Template( 'user_ldap', 'settings');
|
||||
foreach($params as $param){
|
||||
$value = OCP\Config::getAppValue('user_ldap', $param,'');
|
||||
$value = htmlentities(OCP\Config::getAppValue('user_ldap', $param,''));
|
||||
$tmpl->assign($param, $value);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue