Skip to content
Permalink
Browse files Browse the repository at this point in the history
Sanitzing user input
  • Loading branch information
LukasReschke committed Jun 11, 2012
1 parent f8337c9 commit d294373
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/user_ldap/settings.php
Expand Up @@ -47,7 +47,7 @@
// 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);
}

Expand Down

0 comments on commit d294373

Please sign in to comment.