Commit ea8deb3e authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 313546: long_list.cgi URLs don't redirect to show_bug correctly - Patch by…

Bug 313546: long_list.cgi URLs don't redirect to show_bug correctly - Patch by Frédéric Buclin <LpSolit@gmail.com> r=wurblzap a=myk
parent 76bc5689
......@@ -28,11 +28,8 @@ use Bugzilla;
my $cgi = Bugzilla->cgi;
# Convert comma/space separated elements into separate params
my @ids = ();
if (defined $cgi->param('buglist')) {
@ids = split (/[, ]+/, $cgi->param('buglist'));
}
my $buglist = $cgi->param('buglist') || $cgi->param('bug_id') || $cgi->param('id');
my @ids = split (/[\s,]+/, $buglist);
my $ids = join('', map { $_ = "&id=" . $_ } @ids);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment