1 parent b2a7121 commit d4a2232Copy full SHA for d4a2232
1 file changed
mailbox/detach.cgi
@@ -94,7 +94,7 @@ else {
94
else {
95
print "Content-type: $attach->{'type'}\n\n";
96
}
97
- if ($attach->{'type'} =~ /^text\/html/i && !$in{'save'}) {
+ if ($attach->{'type'} =~ /^(text\/html|image\/svg|application\/xhtml)/i && !$in{'save'}) {
98
print &safe_urls(&filter_javascript($attach->{'data'}));
99
100
0 commit comments