Closed Bug 252388 Opened 21 years ago Closed 21 years ago

Bugzilla->cgi->header() returns undefs when header has already been sent

Categories

(Bugzilla :: Bugzilla-General, defect, P2)

2.18
defect

Tracking

()

RESOLVED FIXED
Bugzilla 2.18

People

(Reporter: bugreport, Assigned: bugreport)

Details

Attachments

(1 file)

A number of CGIs as well as the various ThrowXXXError() routines can invoke header after it has already been called. It avoids sending another ehader, but returns an undef which causes warnings every time it happens.
Status: NEW → ASSIGNED
Flags: blocking2.18?
Priority: -- → P2
Target Milestone: --- → Bugzilla 2.18
Attached patch patchSplinter Review
Attachment #153858 - Flags: review?
Comment on attachment 153858 [details] [diff] [review] patch r=jouni I cannot find anything conceptually wrong with it, and it works...
Attachment #153858 - Flags: review? → review+
Flags: approval?
Flags: approval2.18?
Flags: blocking2.18?
Flags: blocking2.18+
Flags: approval?
Flags: approval2.18?
Flags: approval2.18+
Flags: approval+
checked in
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
QA Contact: matty_is_a_geek → default-qa
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: