summaryrefslogtreecommitdiffstats
path: root/bug_form.pl
diff options
context:
space:
mode:
authorgerv%gerv.net <>2001-10-19 06:28:06 +0200
committergerv%gerv.net <>2001-10-19 06:28:06 +0200
commit0514605a98956216ded50969c26b2d78dcf2e260 (patch)
tree5d45eb59bac7d14cca94968f43272168048f14a1 /bug_form.pl
parent858fd64e0faa9a0717167f1d84543c4a542c495c (diff)
downloadbugzilla-0514605a98956216ded50969c26b2d78dcf2e260.tar.gz
bugzilla-0514605a98956216ded50969c26b2d78dcf2e260.tar.xz
Bug 60818 - make Bugzilla cope with MIME types with parameters. Patch by gerv, r=myk.
Diffstat (limited to 'bug_form.pl')
-rw-r--r--bug_form.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/bug_form.pl b/bug_form.pl
index 5938f3aea..d3311fee5 100644
--- a/bug_form.pl
+++ b/bug_form.pl
@@ -299,6 +299,7 @@ if (Param('useattachmenttracker')) {
}
my $link = "showattachment.cgi?attach_id=$attachid";
$desc = value_quote($desc);
+ $mimetype = html_quote($mimetype);
print qq{<td><a href="$link">$date</a></td><td colspan=6>$desc&nbsp;&nbsp;&nbsp;($mimetype)</td></tr><tr><td></td>};
}
print "<td colspan=7><a href=\"createattachment.cgi?id=$id\">Create a new attachment</a> (proposed patch, testcase, etc.)</td></tr></table>\n";