Sanitize user input

This commit is contained in:
Lukas Reschke 2012-06-11 00:23:35 +02:00
parent 8f09299e24
commit cc653a8a40
1 changed files with 1 additions and 1 deletions

View File

@ -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');