mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-24 10:45:42 +00:00
Patch for bug 161369: Strip trailing whitespace from login usernames; patch by Paul <pdemarco@zoominternet.net>, r=vladd, a=justdave.
This commit is contained in:
parent
6e58adeceb
commit
51169c7a19
@ -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');
|
||||
|
Loading…
Reference in New Issue
Block a user