From a99d8be27f2fb13871b50cb38a8a01df79cd6c24 Mon Sep 17 00:00:00 2001 From: "justdave%syndicomm.com" Date: Sun, 2 Nov 2003 07:36:10 +0000 Subject: [PATCH] Bug 111522: Provide ability to specify MIME type of attachment when downloading - correction of url parameter name to avoid usage conflicts with other parts of Bugzilla Patch by Alex Vincent r= justdave, a= justdave git-svn-id: svn://10.0.0.236/trunk@148719 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/webtools/bugzilla/attachment.cgi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mozilla/webtools/bugzilla/attachment.cgi b/mozilla/webtools/bugzilla/attachment.cgi index 1f855d367a8..7063609ee7a 100755 --- a/mozilla/webtools/bugzilla/attachment.cgi +++ b/mozilla/webtools/bugzilla/attachment.cgi @@ -436,12 +436,12 @@ sub view my ($contenttype, $filename, $thedata) = FetchSQLData(); # Bug 111522: allow overriding content-type manually in the posted $::FORM. - if ($::FORM{'ctype'}) + if ($::FORM{'content_type'}) { $::FORM{'contenttypemethod'} = 'manual'; - $::FORM{'contenttypeentry'} = $::FORM{'ctype'}; + $::FORM{'contenttypeentry'} = $::FORM{'content_type'}; validateContentType(); - $contenttype = $::FORM{'ctype'}; + $contenttype = $::FORM{'content_type'}; } # Return the appropriate HTTP response headers.