Closed Bug 1639903 Opened 5 years ago Closed 5 years ago

Fix `Use of uninitialized value in pattern match (m//) at /app/Bugzilla/App.pm line 71`

Categories

(bugzilla.mozilla.org :: General, defect)

defect

Tracking

()

RESOLVED FIXED

People

(Reporter: glob, Assigned: dkl)

Details

Attachments

(1 file)

In production BMO is generating the following Perl error:

Use of uninitialized value in pattern match (m//) at /app/Bugzilla/App.pm line 71

Looks like a request missing a User-Agent header would generate this:

if ($regexp && $c->req->headers->user_agent =~ /$regexp/) {
Attached file GitHub Pull Request
Assignee: nobody → dkl
Status: NEW → ASSIGNED

Merged to master.

Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: