Closed Bug 283924 Opened 20 years ago Closed 20 years ago

Move ValidateComment out of CGI.pl

Categories

(Bugzilla :: Bugzilla-General, enhancement)

2.19.2
enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
Bugzilla 2.20

People

(Reporter: mkanat, Assigned: mkanat)

References

Details

Attachments

(1 file, 1 obsolete file)

I think that it will go to Bugzilla::Bug, because it seems to belong there.
Attached patch Simple Move (obsolete) — Splinter Review
Another very easy, very short move.
Attachment #175702 - Flags: review?(wurblzap)
Comment on attachment 175702 [details] [diff] [review] Simple Move Software error of the form: Undefined subroutine &main::ValidateComment called at /var/www/html/cvsbugzilla/process_bug.cgi line 116. Appears everywhere ValidateComment() is called.
Attachment #175702 - Flags: review?(wurblzap) → review-
Attached patch v2Splinter Review
OK, I fixed it. I also got rid of the "magic number." I didn't put the constant in Bugzilla::Constants because no other script or module could have a conceiveable need to use that constant.
Attachment #175702 - Attachment is obsolete: true
Attachment #175857 - Flags: review?(LpSolit)
Status: NEW → ASSIGNED
Target Milestone: --- → Bugzilla 2.20
Comment on attachment 175857 [details] [diff] [review] v2 r=LpSolit
Attachment #175857 - Flags: review?(LpSolit) → review+
Flags: approval?
Flags: approval? → approval+
Checking in CGI.pl; /cvsroot/mozilla/webtools/bugzilla/CGI.pl,v <-- CGI.pl new revision: 1.232; previous revision: 1.231 done Checking in attachment.cgi; /cvsroot/mozilla/webtools/bugzilla/attachment.cgi,v <-- attachment.cgi new revision: 1.73; previous revision: 1.72 done Checking in Bugzilla/Bug.pm; /cvsroot/mozilla/webtools/bugzilla/Bugzilla/Bug.pm,v <-- Bug.pm new revision: 1.62; previous revision: 1.61 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: