summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/settings.php
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2012-06-10 23:16:59 +0200
committerLukas Reschke <lukas@statuscode.ch>2012-06-10 23:16:59 +0200
commit380aab470ff375a8f898b3b9b8375236130209d0 (patch)
treed318e38c4b83d6e203ca1805102a560c31d68a65 /apps/user_ldap/settings.php
parent3c57fb935bec7b431596c8aec3f344df7dba354a (diff)
downloadnextcloud-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.php2
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);
}