diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2012-06-11 01:21:42 +0400 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2012-06-11 01:21:42 +0400 |
commit | e55cf2a71f898d182833c58a5b7f9b44ed1431be (patch) | |
tree | 02b776a0dcb0eb073c43ad1e65dbca0ca6e14e34 /apptemplate | |
parent | 65f614d516a0cbd5cc356e56d4f0b5db20a6808e (diff) |
Sanitizing user input
Diffstat (limited to 'apptemplate')
-rw-r--r-- | apptemplate/settings.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apptemplate/settings.php b/apptemplate/settings.php index 54d3f5c62..73408f7fb 100644 --- a/apptemplate/settings.php +++ b/apptemplate/settings.php @@ -6,7 +6,7 @@ OC_Util::addScript( "apptemplate", "admin" ); $tmpl = new OC_Template( 'apptemplate', 'settings'); -$tmpl->assign('url',OC_Config::getValue( "somesetting", '' )); +$tmpl->assign('url', htmlentities(OC_Config::getValue( "somesetting", '' )); return $tmpl->fetchPage(); |