diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2012-06-10 23:16:59 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2012-06-10 23:16:59 +0200 |
commit | 380aab470ff375a8f898b3b9b8375236130209d0 (patch) | |
tree | d318e38c4b83d6e203ca1805102a560c31d68a65 /apps/user_ldap/settings.php | |
parent | 3c57fb935bec7b431596c8aec3f344df7dba354a (diff) | |
download | nextcloud-server-380aab470ff375a8f898b3b9b8375236130209d0.tar.gz nextcloud-server-380aab470ff375a8f898b3b9b8375236130209d0.zip |
Sanitzing user input
Diffstat (limited to 'apps/user_ldap/settings.php')
-rw-r--r-- | apps/user_ldap/settings.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/user_ldap/settings.php b/apps/user_ldap/settings.php index 9c0620578be..f1a474ff27d 100644 --- a/apps/user_ldap/settings.php +++ b/apps/user_ldap/settings.php @@ -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); } |