diff options
Diffstat (limited to 'post_bug.cgi')
-rwxr-xr-x | post_bug.cgi | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/post_bug.cgi b/post_bug.cgi index ecfb5fdaf..46596fddc 100755 --- a/post_bug.cgi +++ b/post_bug.cgi @@ -275,6 +275,10 @@ $vars->{sentmail} = \@all_mail_results; $format = $template->get_format("bug/create/created", scalar($cgi->param('created-format')), "html"); + +# don't leak the enter_bug format param to show_bug +$cgi->delete('format'); + print $cgi->header(); $template->process($format->{'template'}, $vars) || ThrowTemplateError($template->error()); |