Closed Bug 471613 Opened 17 years ago Closed 17 years ago

Replace Bugzilla::Util::is_tainted() by Scalar::Util::tainted()

Categories

(Bugzilla :: Bugzilla-General, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
Bugzilla 3.4

People

(Reporter: LpSolit, Assigned: nbezzala)

Details

Attachments

(1 file)

Scalar::Util is in Perl by default now, so we can use its tainted() subroutine instead of our own is_tainted() one.
Whiteboard: [Good Intro Bug]
Please let me know how to test this.
Attachment #358569 - Flags: review?(LpSolit)
Comment on attachment 358569 [details] [diff] [review] Removed is_tainted(), and replaced with tainted() >Index: Install/Util.pm >+use Scalar::Util qw(tainted); Nit: move this line lower in the code, together with other "use" calls. I will fix that on checkin. r=LpSolit Next time, please create your diff from the bugzilla/ root directory, even if all files you modified are in a specific directory. It's a pain to guess in which directory you were when you created your patch.
Attachment #358569 - Flags: review?(LpSolit) → review+
Assignee: general → nbezzala
Status: NEW → ASSIGNED
Flags: approval+
Whiteboard: [Good Intro Bug]
Target Milestone: --- → Bugzilla 3.4
Checking in Bugzilla/Util.pm; /cvsroot/mozilla/webtools/bugzilla/Bugzilla/Util.pm,v <-- Util.pm new revision: 1.81; previous revision: 1.80 done
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Hehe, I didn't copy the whole CVS output message... Checking in Bugzilla/Install/Util.pm; /cvsroot/mozilla/webtools/bugzilla/Bugzilla/Install/Util.pm,v <-- Util.pm new revision: 1.17; previous revision: 1.16 done
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: