summaryrefslogtreecommitdiffstats
path: root/editusers.cgi
diff options
context:
space:
mode:
authortimeless <timeless@bemail.org>2011-08-30 01:22:28 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2011-08-30 01:22:28 +0200
commit34fe9705853d907de85924d4948ab431384173b7 (patch)
tree3b248e42c2e701557eab724280a119759e2c0e14 /editusers.cgi
parentbc10a4903eece2450e7cf664785ffcc2448a3c7d (diff)
downloadbugzilla-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-xeditusers.cgi2
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 ' .