Skip to content

Commit

Permalink
Sanitizing user input
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasReschke committed Jun 10, 2012
1 parent 65f614d commit e55cf2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apptemplate/settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

$tmpl = new OC_Template( 'apptemplate', 'settings');

$tmpl->assign('url',OC_Config::getValue( "somesetting", '' ));
$tmpl->assign('url', htmlentities(OC_Config::getValue( "somesetting", '' ));

return $tmpl->fetchPage();

Expand Down

0 comments on commit e55cf2a

Please sign in to comment.