diff options
author | timeless <timeless@bemail.org> | 2011-08-30 01:23:40 +0200 |
---|---|---|
committer | Frédéric Buclin <LpSolit@gmail.com> | 2011-08-30 01:23:40 +0200 |
commit | a0f86b5d25f291b40321a0b440f3cd0987378191 (patch) | |
tree | 37eb1b02aaeda31a6818cd25375828b727732bd4 /editusers.cgi | |
parent | f1b9e01cdd1535195b956eecee2cead615cc7d3c (diff) | |
download | bugzilla-a0f86b5d25f291b40321a0b440f3cd0987378191.tar.gz bugzilla-a0f86b5d25f291b40321a0b440f3cd0987378191.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 ' . |