From: lpsolit%gmail.com <> Date: Thu, 3 Jul 2008 03:46:28 +0000 (+0000) Subject: Bug 365697: email_in.pl is case-sensitive for products due to Bugzilla::User->can_ent... X-Git-Tag: bugzilla-3.0.5~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=928c576a4d28a59e6e69a572257fed4f7f913cb2;p=thirdparty%2Fbugzilla.git Bug 365697: email_in.pl is case-sensitive for products due to Bugzilla::User->can_enter_product - Patch by Frédéric Buclin r/a=mkanat --- diff --git a/Bugzilla/User.pm b/Bugzilla/User.pm index 003337fe41..5a448434b8 100644 --- a/Bugzilla/User.pm +++ b/Bugzilla/User.pm @@ -682,7 +682,7 @@ sub can_enter_product { } trick_taint($product_name); my $can_enter = - grep($_->name eq $product_name, @{$self->get_enterable_products}); + grep(lc($_->name) eq lc($product_name), @{$self->get_enterable_products}); return 1 if $can_enter;