diff options
author | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-11-20 08:25:52 +0000 |
---|---|---|
committer | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-11-20 08:25:52 +0000 |
commit | 9f41e8b1a34044d654ce3c6381efe3b3e2030c35 (patch) | |
tree | 28ac27966e2c0b7726a865138eb6a21f7f38dad1 /views/default/output/email.php | |
parent | a906ef7dcc58bce7f54b5b3a2c2692b84f6a1b54 (diff) | |
download | elgg-9f41e8b1a34044d654ce3c6381efe3b3e2030c35.tar.gz elgg-9f41e8b1a34044d654ce3c6381efe3b3e2030c35.tar.bz2 |
Fixes #2036: using htmlspecialchars in output views
git-svn-id: http://code.elgg.org/elgg/trunk@7368 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 02d2e67e0..8f5c092b9 100644 --- a/views/default/output/email.php +++ b/views/default/output/email.php @@ -11,5 +11,5 @@ */ if (!empty($vars['value'])) { - echo "<a href=\"mailto:" . $vars['value'] . "\">". htmlentities($vars['value'], ENT_QUOTES, 'UTF-8') ."</a>"; + echo "<a href=\"mailto:" . $vars['value'] . "\">". htmlspecialchars($vars['value'], ENT_QUOTES, 'UTF-8') ."</a>"; }
\ No newline at end of file |