diff options
| author | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2007-03-23 18:54:39 +0000 |
|---|---|---|
| committer | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2007-03-23 18:54:39 +0000 |
| commit | c7228254119f84d7fde14e6b0e470f8f73f38952 (patch) | |
| tree | fc918dc48cab1da84413e49fed59abde9f2c16d6 /roundcubemail/program/steps | |
| parent | 15f812fdc97ba65de506202262fd1749938bc8c6 (diff) | |
Fixed bugs #1484276 and #1484300
git-svn-id: https://svn.roundcube.net/trunk@519 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps')
| -rw-r--r-- | roundcubemail/program/steps/mail/func.inc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/roundcubemail/program/steps/mail/func.inc b/roundcubemail/program/steps/mail/func.inc index 1b98f1d52..37c1e1e19 100644 --- a/roundcubemail/program/steps/mail/func.inc +++ b/roundcubemail/program/steps/mail/func.inc @@ -1398,10 +1398,10 @@ function rcmail_address_string($input, $max=NULL, $addicon=NULL) else if (preg_match($EMAIL_ADDRESS_PATTERN, $part['mailto'])) { $out .= sprintf('<a href="mailto:%s" onclick="return %s.command(\'compose\',\'%s\',this)" class="rcmContactAddress" title="%s">%s</a>', - $part['mailto'], + Q($part['mailto']), $JS_OBJECT_NAME, - $part['mailto'], - $part['mailto'], + JQ($part['mailto']), + Q($part['mailto']), Q($part['name'])); if ($addicon) @@ -1417,7 +1417,7 @@ function rcmail_address_string($input, $max=NULL, $addicon=NULL) if ($part['name']) $out .= Q($part['name']); if ($part['mailto']) - $out .= (strlen($out) ? ' ' : '') . sprintf('<%s>', $part['mailto']); + $out .= (strlen($out) ? ' ' : '') . sprintf('<%s>', Q($part['mailto'])); } if ($c>$j) |
