undefined $username at load_login (TPAC)
Bug #1400082 reported by
Dan Scott
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Fix Released
|
Undecided
|
Unassigned | ||
2.6 |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
* Evergreen master / 2.7 / probably a long way back
Open-ILS/
my $username = $cgi->param(
$username =~ s/\s//g; # Remove blanks
This can throw an "Use of uninitialized value $username in substitution (s///)" warning in Apache logs if $username has no value at all.
Changed in evergreen: | |
milestone: | none → 2.7.2 |
Changed in evergreen: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
See http:// git.evergreen- ils.org/ ?p=working/ Evergreen. git;a=shortlog; h=refs/ heads/user/ dbs/lp1400082_ avoid_uninit_ username_ in_login for a quick fix by assigning a default value of '' if the var is undef.