mirror of
https://github.com/nextcloud/server.git
synced 2026-04-21 06:08:46 -04:00
Sanitize user input
This commit is contained in:
parent
8f09299e24
commit
cc653a8a40
1 changed files with 1 additions and 1 deletions
|
|
@ -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');
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue