Skip to content
This repository
Browse code

Sanitize user input

  • Loading branch information...
commit cc653a8a408adfb4d0cd532145668aacd85ad96c 1 parent 8f09299
Lukas Reschke LukasReschke authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  apps/user_openid/settings.php
2  apps/user_openid/settings.php
@@ -2,7 +2,7 @@
2 2
3 3 $tmpl = new OCP\Template( 'user_openid', 'settings');
4 4 $identity=OCP\Config::getUserValue(OCP\USER::getUser(),'user_openid','identity','');
5   -$tmpl->assign('identity',$identity);
  5 +$tmpl->assign('identity',htmlentities($identity));
6 6
7 7 OCP\Util::addscript('user_openid','settings');
8 8

0 comments on commit cc653a8

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