Sanitize user input
This commit is contained in:
parent
8f09299e24
commit
cc653a8a40
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
$tmpl = new OCP\Template( 'user_openid', 'settings');
|
$tmpl = new OCP\Template( 'user_openid', 'settings');
|
||||||
$identity=OCP\Config::getUserValue(OCP\USER::getUser(),'user_openid','identity','');
|
$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');
|
OCP\Util::addscript('user_openid','settings');
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue