summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Auth
diff options
context:
space:
mode:
authorjocuri%softhome.net <>2006-03-03 21:29:07 +0100
committerjocuri%softhome.net <>2006-03-03 21:29:07 +0100
commitdd167ee816eedcdfe0d3c2f8bcd7c5807bdf3018 (patch)
treec73c3342119140ea25bcbecc2261f8051163c03a /Bugzilla/Auth
parent1ad86477368357ad219fe1fdc796913effdd0116 (diff)
downloadbugzilla-dd167ee816eedcdfe0d3c2f8bcd7c5807bdf3018.tar.gz
bugzilla-dd167ee816eedcdfe0d3c2f8bcd7c5807bdf3018.tar.xz
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')
-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');