diff options
author | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-07-18 08:58:05 +0000 |
---|---|---|
committer | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-07-18 08:58:05 +0000 |
commit | b53371b0512a034c68cc3c24d4fc42df6a7d40d3 (patch) | |
tree | 5ffb782ca001fcb97bcd22ae00432ce3362fa921 /views/default/input/text.php | |
parent | 6ad8c58c461bac079f83664078626eef6027615e (diff) | |
download | elgg-b53371b0512a034c68cc3c24d4fc42df6a7d40d3.tar.gz elgg-b53371b0512a034c68cc3c24d4fc42df6a7d40d3.tar.bz2 |
Short text values are now properly escaped in the input/text view.
git-svn-id: https://code.elgg.org/elgg/trunk@1464 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/input/text.php')
-rw-r--r-- | views/default/input/text.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/views/default/input/text.php b/views/default/input/text.php index 0da751942..4b040445a 100644 --- a/views/default/input/text.php +++ b/views/default/input/text.php @@ -19,4 +19,4 @@ ?>
-<input type="text" <?php echo $vars['js']; ?> name="<?php echo $vars['internalname']; ?>" value="<?php echo $vars['value']; ?>" class="input-text"/>
\ No newline at end of file +<input type="text" <?php echo $vars['js']; ?> name="<?php echo $vars['internalname']; ?>" value="<?php echo htmlentities($vars['value']); ?>" class="input-text"/>
\ No newline at end of file |