diff -ruN openwebmail-read.pl.orig openwebmail-read.pl
--- openwebmail-read.pl.orig Wed Jun 2 12:12:30 2004
+++ openwebmail-read.pl Thu Jun 3 20:27:17 2004
@@ -1117,7 +1117,7 @@
my $temphtml .= qq|
|.
qq||.
- qq|$lang_text{'attachment'} $attnumber: ${$r_attachment}{filename} ($attlen) |;
+ qq|$lang_text{'attachment'} $attnumber: |.ow::htmltext::str2html(${$r_attachment}{filename}).qq| ($attlen) |;
if ($config{'enable_webdisk'} && !$config{'webdisk_readonly'}) {
$temphtml .= qq|$lang_text{'webdisk'}|.
@@ -1149,7 +1149,7 @@
my $temphtml .= qq||.
qq|| |.
- qq|$lang_text{'attachment'} $attnumber: ${$r_attachment}{filename} ($attlen) \n|;
+ qq|$lang_text{'attachment'} $attnumber: |.ow::htmltext::str2html(${$r_attachment}{filename}). qq| ($attlen) \n|;
if (${$r_attachment}{filename}=~/\.(?:doc|dot)$/ ) {
$temphtml .= qq|$lang_wdbutton{'preview'}|.
qq| \n|;
@@ -1162,10 +1162,10 @@
$temphtml .= qq|$nodeid $disposition|.
qq| | |.
qq||.
- qq|$lang_text{'type'}: $contenttype |.
- qq|$lang_text{'encoding'}: ${$r_attachment}{'content-transfer-encoding'}|;
+ qq|$lang_text{'type'}: |.ow::htmltext::str2html($contenttype).qq| |.
+ qq|$lang_text{'encoding'}: |.ow::htmltext::str2html(${$r_attachment}{'content-transfer-encoding'});
if (${$r_attachment}{'content-description'} ne "") {
- $temphtml .= qq| $lang_text{'description'}: ${$r_attachment}{'content-description'}|;
+ $temphtml .= qq| $lang_text{'description'}: |.ow::htmltext::str2html(${$r_attachment}{'content-description'});
}
my $blank="";
if ($contenttype=~/^text/ ||
| |