summaryrefslogtreecommitdiffstats
path: root/buglist.cgi
diff options
context:
space:
mode:
authordave%intrec.com <>2000-07-20 01:05:51 +0200
committerdave%intrec.com <>2000-07-20 01:05:51 +0200
commit16488acd8d39621ac14022063310f1164e4e0ee7 (patch)
treea28069e1893d3edf17f09b2b4b7e20d0835c02c9 /buglist.cgi
parent9154c59e5079c1943cb51df83a34c390240572e9 (diff)
downloadbugzilla-16488acd8d39621ac14022063310f1164e4e0ee7.tar.gz
bugzilla-16488acd8d39621ac14022063310f1164e4e0ee7.tar.xz
Fix for bug 27248 (Bug listings saved with .html extension). Patch
submitted by mhamby@logicon.com (Mark Hamby).
Diffstat (limited to 'buglist.cgi')
-rwxr-xr-xbuglist.cgi2
1 files changed, 2 insertions, 0 deletions
diff --git a/buglist.cgi b/buglist.cgi
index c704df168..8a0225685 100755
--- a/buglist.cgi
+++ b/buglist.cgi
@@ -764,6 +764,7 @@ if (exists $ENV{'HTTP_USER_AGENT'} && $ENV{'HTTP_USER_AGENT'} =~ /Mozilla.[3-9]/
# Note! HTML header is complete!
} else {
print "Content-type: text/html\n";
+ print "Content-disposition: attachment; filename=bugzilla_bug_list.html\n";
# Note! Don't finish HTML header yet! Only one newline so far!
}
@@ -1143,6 +1144,7 @@ if ($serverpush) {
print "\n";
print "--thisrandomstring\n";
print "Content-type: text/html\n";
+ print "Content-disposition: attachment; filename=bugzilla_bug_list.html\n";
# Note! HTML header not yet closed
}
my $toolong = 0;