From 8ffbc32add6e489c8b19a84da5bcc2ecac7a50c4 Mon Sep 17 00:00:00 2001 From: cjwatson <> Date: Thu, 10 Jul 2003 23:29:41 -0800 Subject: [PATCH] [project @ 2003-07-11 00:29:41 by cjwatson] Never treat the top-level message part as an attachment, no matter what the Content-Disposition: says (Daniel Stone). --- cgi/bugreport.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cgi/bugreport.cgi b/cgi/bugreport.cgi index bd5c5a63..aceacd92 100755 --- a/cgi/bugreport.cgi +++ b/cgi/bugreport.cgi @@ -97,7 +97,7 @@ sub display_entity ($$$$\$\@) { } } - return if $disposition eq 'attachment' and not defined($att); + return if not $top and $disposition eq 'attachment' and not defined($att); return unless ($type =~ m[^text/?] and $type !~ m[^text/html(?:;|$)]) or $type =~ m[^application/pgp(?:;|$)] or $entity->parts; -- 2.39.5