undefined $username at load_login (TPAC)

Bug #1400082 reported by Dan Scott
6
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/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm currently reads (around line 387):

     my $username = $cgi->param('username');
    $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.

Tags: pullrequest
Revision history for this message
Dan Scott (denials) wrote :
tags: added: pullrequest
Dan Scott (denials)
Changed in evergreen:
milestone: none → 2.7.2
Revision history for this message
Ben Shum (bshum) wrote :

Picked to master, rel_2_7, and rel_2_6.

Changed in evergreen:
status: New → Fix Committed
Galen Charlton (gmc)
Changed in evergreen:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.