Skip to content
Permalink
Browse files Browse the repository at this point in the history
Sanitize user input
  • Loading branch information
LukasReschke committed Jun 11, 2012
1 parent 8f09299 commit cc653a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/user_openid/settings.php
Expand Up @@ -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');

Expand Down

0 comments on commit cc653a8

Please sign in to comment.