aboutsummaryrefslogtreecommitdiffstats
path: root/apps/user_openid
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2012-06-11 00:23:35 +0200
committerLukas Reschke <lukas@statuscode.ch>2012-06-11 00:23:35 +0200
commitf8d2e21c66e68d1786f203a8eb7e8cb38b4e670e (patch)
tree8d30ffdae28c132d84908dcb463f7243e3a2e085 /apps/user_openid
parent27d1c1bb947a7fc6f26e8574a2c7602154d56525 (diff)
downloadnextcloud-server-f8d2e21c66e68d1786f203a8eb7e8cb38b4e670e.tar.gz
nextcloud-server-f8d2e21c66e68d1786f203a8eb7e8cb38b4e670e.zip
Sanitize user input
Diffstat (limited to 'apps/user_openid')
-rw-r--r--apps/user_openid/settings.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/user_openid/settings.php b/apps/user_openid/settings.php
index 921fa371dde..062322f6fe4 100644
--- a/apps/user_openid/settings.php
+++ b/apps/user_openid/settings.php
@@ -2,7 +2,7 @@
$tmpl = new OCP\Template( 'user_openid', 'settings');
$identity=OCP\Config::getUserValue(OCP\USER::getUser(),'user_openid','identity','');
-$tmpl->assign('identity',$identity);
+$tmpl->assign('identity',htmlentities($identity));
OCP\Util::addscript('user_openid','settings');