aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'post_bug.cgi')
-rwxr-xr-xpost_bug.cgi3
1 files changed, 3 insertions, 0 deletions
diff --git a/post_bug.cgi b/post_bug.cgi
index 2ef2dcde5..0f23e7d98 100755
--- a/post_bug.cgi
+++ b/post_bug.cgi
@@ -53,6 +53,9 @@ my $vars = {};
# Main Script
######################################################################
+# redirect to enter_bug if no field is passed.
+print $cgi->redirect(correct_urlbase() . 'enter_bug.cgi') unless $cgi->param();
+
# Detect if the user already used the same form to submit a bug
my $token = trim($cgi->param('token'));
if ($token) {