summaryrefslogtreecommitdiffstats
path: root/Bugzilla/CGI.pm
diff options
context:
space:
mode:
authorByron Jones <glob@mozilla.com>2015-12-01 08:30:40 +0100
committerByron Jones <glob@mozilla.com>2015-12-01 08:30:40 +0100
commit944f4c76700090704b1d4100fac2db4d647ede67 (patch)
tree83095fce9233b39f230c9c2d22e265940a879896 /Bugzilla/CGI.pm
parent7bf9ad78543d0f95c655afab376de6fc4687f3d2 (diff)
downloadbugzilla-944f4c76700090704b1d4100fac2db4d647ede67.tar.gz
bugzilla-944f4c76700090704b1d4100fac2db4d647ede67.tar.xz
Bug 1229198 - When saving a buglist from a saved search as a CSV file, set the filename to <saved-query-name>.csv
Diffstat (limited to 'Bugzilla/CGI.pm')
-rw-r--r--Bugzilla/CGI.pm9
1 files changed, 4 insertions, 5 deletions
diff --git a/Bugzilla/CGI.pm b/Bugzilla/CGI.pm
index d24722fcc..7d111063d 100644
--- a/Bugzilla/CGI.pm
+++ b/Bugzilla/CGI.pm
@@ -335,16 +335,15 @@ sub multipart_start {
}
sub close_standby_message {
- my ($self, $contenttype, $disposition) = @_;
+ my ($self, $contenttype, $disp, $disp_prefix, $extension) = @_;
+ $self->set_dated_content_disp($disp, $disp_prefix, $extension);
if ($self->{_multipart_in_progress}) {
print $self->multipart_end();
- print $self->multipart_start(-type => $contenttype,
- -content_disposition => $disposition);
+ print $self->multipart_start(-type => $contenttype);
}
else {
- print $self->header(-type => $contenttype,
- -content_disposition => $disposition);
+ print $self->header($contenttype);
}
}