summaryrefslogtreecommitdiffstats
path: root/new_bug.cgi
diff options
context:
space:
mode:
authorSebastin Santy <sebastinssanty@gmail.com>2017-12-15 17:47:42 +0100
committerDylan William Hardison <dylan@hardison.net>2017-12-15 17:47:42 +0100
commit506797cd636512a25d99a2deb1cb6fd9fbbfa94e (patch)
tree768ab0dd0ef6f610353fb389e049c541351fbade /new_bug.cgi
parent2e5d910d9401c4fa8f105d8f9502d9e4ea27bb99 (diff)
downloadbugzilla-506797cd636512a25d99a2deb1cb6fd9fbbfa94e.tar.gz
bugzilla-506797cd636512a25d99a2deb1cb6fd9fbbfa94e.tar.xz
Bug 1425119 - Release new-bug interface
Diffstat (limited to 'new_bug.cgi')
-rw-r--r--new_bug.cgi10
1 files changed, 2 insertions, 8 deletions
diff --git a/new_bug.cgi b/new_bug.cgi
index 4429717c1..0949f3696 100644
--- a/new_bug.cgi
+++ b/new_bug.cgi
@@ -47,19 +47,13 @@ my $template = Bugzilla->template;
my $vars = {};
my $dbh = Bugzilla->dbh;
-
-unless ($user->in_group('new-bug-testers')) {
- print $cgi->redirect(correct_urlbase());
- exit;
-}
-
if (lc($cgi->request_method) eq 'post') {
my $token = $cgi->param('token');
check_hash_token($token, ['new_bug']);
my @keywords = $cgi->param('keywords');
my @groups = $cgi->param('groups');
- my @cc = split /, /, $cgi->param('cc');
- my @bug_mentor = split /, /, $cgi->param('bug_mentor');
+ my @cc = split /\s*,\s*/, $cgi->param('cc');
+ my @bug_mentor = split /\s*,\s*/, $cgi->param('bug_mentor');
my $new_bug = Bugzilla::Bug->create({
short_desc => scalar($cgi->param('short_desc')),
product => scalar($cgi->param('product')),