Sanitzing user input
This commit is contained in:
parent
3c57fb935b
commit
380aab470f
|
@ -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 New Issue