Changeset 1668 in subversion
- Timestamp:
- Aug 21, 2008 9:09:08 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/roundcubemail/program/steps/mail/compose.inc
r1667 r1668 459 459 function rcmail_create_reply_body($body, $bodyIsHtml) 460 460 { 461 global $IMAP, $MESSAGE ;461 global $IMAP, $MESSAGE, $OUTPUT; 462 462 463 463 if (! $bodyIsHtml) … … 497 497 $prefix = sprintf("<br /><br />On %s, %s wrote:<br />\n", 498 498 $MESSAGE->headers->date, 499 Q($MESSAGE->get_header('from'), 'replace'));499 htmlspecialchars(Q($MESSAGE->get_header('from'), 'replace'), ENT_COMPAT, $OUTPUT->get_charset(), true)); 500 500 $prefix .= '<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px; width:100%">'; 501 501 $suffix = "</blockquote>"; … … 508 508 function rcmail_create_forward_body($body, $bodyIsHtml) 509 509 { 510 global $IMAP, $MESSAGE ;510 global $IMAP, $MESSAGE, $OUTPUT; 511 511 512 512 if (!$bodyIsHtml) … … 533 533 Q($MESSAGE->subject), 534 534 Q($MESSAGE->headers->date), 535 Q($MESSAGE->get_header('from'), 'replace'),536 Q($MESSAGE->get_header('to'), 'replace'));535 htmlspecialchars(Q($MESSAGE->get_header('from'), 'replace'), ENT_COMPAT, $OUTPUT->get_charset(), true), 536 htmlspecialchars(Q($MESSAGE->get_header('to'), 'replace'), ENT_COMPAT, $OUTPUT->get_charset(), true)); 537 537 } 538 538
Note: See TracChangeset
for help on using the changeset viewer.
