From 0b7cd97e2e75eabee69d663530912e57dd715213 Mon Sep 17 00:00:00 2001 From: Dylan Hardison Date: Wed, 9 Mar 2016 22:09:53 -0500 Subject: Bug 1254542 - Reflected XSS in comment-remo-form-payment.txt page --- Bugzilla/Template.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Bugzilla/Template.pm') diff --git a/Bugzilla/Template.pm b/Bugzilla/Template.pm index 076e654cb..56ebd9c21 100644 --- a/Bugzilla/Template.pm +++ b/Bugzilla/Template.pm @@ -144,7 +144,7 @@ sub get_format { 'template' => $template, 'format' => $format, 'extension' => $ctype, - 'ctype' => Bugzilla::Constants::contenttypes->{$ctype} + 'ctype' => Bugzilla::Constants::contenttypes->{$ctype} // 'application/octet-stream', }; } -- cgit v1.2.3-24-g4f1b