Closed Bug 290570 Opened 20 years ago Closed 20 years ago

Bugzilla::Auth::WWW:Env uses bitwise or

Categories

(Bugzilla :: User Accounts, defect)

2.19.2
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Bugzilla 2.20

People

(Reporter: simon, Assigned: simon)

Details

Attachments

(1 file)

Bugzilla::Auth::WWW::Env uses a bitwise, rather than logical or operation to
test if two of its parameters are defined.

Fix is in the attached simple patch.

This breaks collectstats.pl, although I'm not sure why collectstats is using the
WWW authentication interface.
Attachment #180875 - Flags: review?(kiko)
Comment on attachment 180875 [details] [diff] [review]
Fix for bitwise or usage in Bugzilla::Auth::WWW::Env.pm

Oops :)
Attachment #180875 - Flags: review?(kiko) → review+
Flags: approval?
Hardware: PC → All
Target Milestone: --- → Bugzilla 2.20
Flags: approval? → approval+
reassigning to patch author.
Assignee: user-accounts → simon
Checking in Bugzilla/Auth/Login/WWW/Env.pm;
/cvsroot/mozilla/webtools/bugzilla/Bugzilla/Auth/Login/WWW/Env.pm,v  <--  Env.pm
new revision: 1.3; previous revision: 1.2
done
Status: NEW → RESOLVED
Closed: 20 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: