Closed Bug 302357 Opened 20 years ago Closed 20 years ago

some .cgi files ignore Param(shutdownhtml) in 2.19.x and 2.20rc1

Categories

(Bugzilla :: Bugzilla-General, defect)

2.20
defect
Not set
major

Tracking

()

RESOLVED FIXED
Bugzilla 2.20

People

(Reporter: LpSolit, Assigned: LpSolit)

Details

(Whiteboard: [only affects the 2.20 branch])

Attachments

(1 file)

In 2.20rc1 and older, Param(shutdownhtml) is checked in CGI.pl. But some .cgi files do not require CGI.pl meaning that this parameter is ignored. The affected files are: 2.18.3: showattachment.cgi, testagent.cgi 2.20rc1: showattachment.cgi, testagent.cgi, editclassifications.cgi, editvalues.cgi The first two files are not a problem, because testagent.cgi has no relation with Bugzilla; it is only used to test Apache. And showattachment.cgi simply redirects to attachment.cgi which requires CGI.pl and will then take this parameter into account. In other words, 2.18.x is not affected, and only editclassifications.cgi and editvalues.cgi in 2.19.x and 2.20rc1 are concerned. 2.21+ is not affected because this check has been moved into Bugzilla.pm.
Status: NEW → ASSIGNED
Flags: blocking2.20?
Whiteboard: [only affects the 2.20 branch]
Target Milestone: --- → Bugzilla 2.20
add require "CGI.pl";
Attachment #190725 - Flags: review?(wicked)
Comment on attachment 190725 [details] [diff] [review] patch for 2.20 only, v1 Tested to be working. Both editvalues and editvalues seem to work and both are now correctly shutdown.
Attachment #190725 - Flags: review?(wicked) → review+
Flags: approval2.20?
Flags: blocking2.20?
Flags: approval2.20?
Flags: approval2.20+
Checking in editclassifications.cgi; /cvsroot/mozilla/webtools/bugzilla/editclassifications.cgi,v <-- editclassifications.cgi new revision: 1.12.2.1; previous revision: 1.12 done Checking in editvalues.cgi; /cvsroot/mozilla/webtools/bugzilla/editvalues.cgi,v <-- editvalues.cgi new revision: 1.3.2.2; previous revision: 1.3.2.1 done
Status: ASSIGNED → 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: