Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/apps.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2012-06-11 01:21:42 +0400
committerLukas Reschke <lukas@statuscode.ch>2012-06-11 01:21:42 +0400
commite55cf2a71f898d182833c58a5b7f9b44ed1431be (patch)
tree02b776a0dcb0eb073c43ad1e65dbca0ca6e14e34 /apptemplate
parent65f614d516a0cbd5cc356e56d4f0b5db20a6808e (diff)
Sanitizing user input
Diffstat (limited to 'apptemplate')
-rw-r--r--apptemplate/settings.php2
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();