diff options
author | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-02-10 18:36:31 +0000 |
---|---|---|
committer | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-02-10 18:36:31 +0000 |
commit | 2dafe0c1880b922d75a288f371fa976066589fd7 (patch) | |
tree | db0704ce5abbb65812c56745532b12358bcd0264 /views/default/output/confirmlink.php | |
parent | 5788ca8fea363eb5b5298a46b7f087ff3bec953d (diff) | |
download | elgg-2dafe0c1880b922d75a288f371fa976066589fd7.tar.gz elgg-2dafe0c1880b922d75a288f371fa976066589fd7.tar.bz2 |
Closes #756: htmlentities on all output forms
git-svn-id: https://code.elgg.org/elgg/trunk@2711 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/output/confirmlink.php')
-rw-r--r-- | views/default/output/confirmlink.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/views/default/output/confirmlink.php b/views/default/output/confirmlink.php index fb6d5a893..2ef3ad14b 100644 --- a/views/default/output/confirmlink.php +++ b/views/default/output/confirmlink.php @@ -21,4 +21,4 @@ if (!$confirm)
$confirm = elgg_echo('question:areyousure');
?>
-<a href="<?php echo $vars['href']; ?>" onclick="return confirm('<?php echo addslashes($confirm); ?>');"><?php echo $vars['text']; ?></a>
\ No newline at end of file +<a href="<?php echo $vars['href']; ?>" onclick="return confirm('<?php echo addslashes($confirm); ?>');"><?php echo htmlentities($vars['text'], null, 'UTF-8'); ?></a>
\ No newline at end of file |