aboutsummaryrefslogtreecommitdiffstats
path: root/Bugzilla/Auth/Login
diff options
context:
space:
mode:
authorjocuri%softhome.net <>2006-03-03 20:29:07 +0000
committerjocuri%softhome.net <>2006-03-03 20:29:07 +0000
commitdd167ee816eedcdfe0d3c2f8bcd7c5807bdf3018 (patch)
treec73c3342119140ea25bcbecc2261f8051163c03a /Bugzilla/Auth/Login
parent1ad86477368357ad219fe1fdc796913effdd0116 (diff)
downloadbugs-dd167ee816eedcdfe0d3c2f8bcd7c5807bdf3018.tar
bugs-dd167ee816eedcdfe0d3c2f8bcd7c5807bdf3018.tar.gz
bugs-dd167ee816eedcdfe0d3c2f8bcd7c5807bdf3018.tar.bz2
bugs-dd167ee816eedcdfe0d3c2f8bcd7c5807bdf3018.tar.xz
bugs-dd167ee816eedcdfe0d3c2f8bcd7c5807bdf3018.zip
Patch for bug 161369: Strip trailing whitespace from login usernames; patch by Paul <pdemarco@zoominternet.net>, r=vladd, a=justdave.
Diffstat (limited to 'Bugzilla/Auth/Login')
-rw-r--r--Bugzilla/Auth/Login/WWW/CGI.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Auth/Login/WWW/CGI.pm b/Bugzilla/Auth/Login/WWW/CGI.pm
index a697a623f..5030691e3 100644
--- a/Bugzilla/Auth/Login/WWW/CGI.pm
+++ b/Bugzilla/Auth/Login/WWW/CGI.pm
@@ -49,7 +49,7 @@ sub login {
my $dbh = Bugzilla->dbh;
# First, try the actual login method against form variables
- my $username = $cgi->param("Bugzilla_login");
+ my $username = trim($cgi->param("Bugzilla_login"));
my $passwd = $cgi->param("Bugzilla_password");
$cgi->delete('Bugzilla_login', 'Bugzilla_password');