projects
/
squirrelmail.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Ok, this actually works now.
[squirrelmail.git]
/
functions
/
mailbox_display.php
diff --git
a/functions/mailbox_display.php
b/functions/mailbox_display.php
index d297debbd461faadb77e3db695c9aa1c4858e076..30880ec99867ae6bdbd5db014b547bb5893e2b3b 100644
(file)
--- a/
functions/mailbox_display.php
+++ b/
functions/mailbox_display.php
@@
-123,8
+123,13
@@
if (! isset($search_stuff)) { $search_stuff = ''; }
echo "<a href=\"read_body.php?mailbox=$urlMailbox&passed_id=".$msg["ID"]."&startMessage=$startMessage&show_more=0$search_stuff\"";
do_hook("subject_link");
if (! isset($search_stuff)) { $search_stuff = ''; }
echo "<a href=\"read_body.php?mailbox=$urlMailbox&passed_id=".$msg["ID"]."&startMessage=$startMessage&show_more=0$search_stuff\"";
do_hook("subject_link");
- echo " title=\"" . urlencode($msg['SUBJECT']) .
- "\">$flag$subject$flag_end</a>$bold_end</td>\n";
+
+ $title = get_html_translation_table(HTML_SPECIALCHARS);
+ $title = array_flip($title);
+ $title = strtr($msg['SUBJECT'], $title);
+ $title = str_replace('"', "''", $title);
+
+ echo " title=\"$title\">$flag$subject$flag_end</a>$bold_end</td>\n";
break;
case 5: # flags
$stuff = false;
break;
case 5: # flags
$stuff = false;