diff options
author | timeless <timeless@bemail.org> | 2011-08-30 01:22:28 +0200 |
---|---|---|
committer | Frédéric Buclin <LpSolit@gmail.com> | 2011-08-30 01:22:28 +0200 |
commit | 34fe9705853d907de85924d4948ab431384173b7 (patch) | |
tree | 3b248e42c2e701557eab724280a119759e2c0e14 /editusers.cgi | |
parent | bc10a4903eece2450e7cf664785ffcc2448a3c7d (diff) | |
download | bugzilla-34fe9705853d907de85924d4948ab431384173b7.tar.gz bugzilla-34fe9705853d907de85924d4948ab431384173b7.tar.xz |
Bug 628806: user selection field in editusers should strip leading and trailing whitespace
r/a=LpSolit
Diffstat (limited to 'editusers.cgi')
-rwxr-xr-x | editusers.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editusers.cgi b/editusers.cgi index 12c4dc230..c25c5e9ef 100755 --- a/editusers.cgi +++ b/editusers.cgi @@ -74,7 +74,7 @@ if ($action eq 'search') { ########################################################################### } elsif ($action eq 'list') { my $matchvalue = $cgi->param('matchvalue') || ''; - my $matchstr = $cgi->param('matchstr'); + my $matchstr = trim($cgi->param('matchstr')); my $matchtype = $cgi->param('matchtype'); my $grouprestrict = $cgi->param('grouprestrict') || '0'; my $query = 'SELECT DISTINCT userid, login_name, realname, is_enabled ' . |