(CVE-2013-0785) [SECURITY] XSS in show_bug.cgi when using an invalid page format
[WebKit-https.git] / Websites / bugs.webkit.org / Bugzilla / Template.pm
index 1362ecae3e32f4f672dea68da11095ddfb3230f1..6a8a717f01f8bf0b7fd207c77946c6c65252a521 100644 (file)
@@ -147,6 +147,7 @@ sub get_format {
     return
     {
         'template'    => $template,
     return
     {
         'template'    => $template,
+        'format'      => $format,
         'extension'   => $ctype,
         'ctype'       => Bugzilla::Constants::contenttypes->{$ctype}
     };
         'extension'   => $ctype,
         'ctype'       => Bugzilla::Constants::contenttypes->{$ctype}
     };