Our address obfuscation currently relies on HTML-escaped output,
so we need to call obfuscate_addrs() after ascii_html(). This
bug only affected rare messages which include another message/*
attachment. Without this fix it didn't fail to obfuscate, but
rather showed the showed `•' in the HTML instead of the
entity it represents.
for my $h (qw(From To Cc Subject Date Message-ID X-Alt-Message-ID)) {
$s .= "$h: $_\n" for $eml->header($h);
}
+ $s = ascii_html($s);
obfuscate_addrs($ctx->{-obfs_ibx}, $s) if $ctx->{-obfs_ibx};
- ascii_html($s);
+ $s;
}
sub attach_link ($$$$;$) {