Skip to content
Browse files

Sanitize user input

  • Loading branch information...
1 parent 8f09299 commit cc653a8a408adfb4d0cd532145668aacd85ad96c @LukasReschke LukasReschke committed Jun 11, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 apps/user_openid/settings.php
View
2 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');

0 comments on commit cc653a8

Please sign in to comment.
Something went wrong with that request. Please try again.