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/email.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/email.php')
-rw-r--r-- | views/default/output/email.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/views/default/output/email.php b/views/default/output/email.php index db3cdd6fa..e6b406507 100644 --- a/views/default/output/email.php +++ b/views/default/output/email.php @@ -16,6 +16,6 @@ */
if (!empty($vars['value'])) {
- echo "<a href=\"mailto:" . $vars['value'] . "\">". $vars['value'] ."</a>";
+ echo "<a href=\"mailto:" . $vars['value'] . "\">". htmlentities($vars['value'], null, 'UTF-8') ."</a>";
}
?>
\ No newline at end of file |