From 773a2ca32beccd7acc1e6d3a68c5ae2ed6dd3a10 Mon Sep 17 00:00:00 2001 From: "gerv%gerv.net" <> Date: Tue, 30 Apr 2002 02:32:27 +0000 Subject: Bug 140784 - edit*.cgi need a use lib "." on Win32/IIS w/ taint. Patch by jouni@heikniemi.net; r=bbaetz, gerv. --- editattachstatuses.cgi | 1 + editcomponents.cgi | 1 + editgroups.cgi | 1 + editkeywords.cgi | 1 + editmilestones.cgi | 1 + editparams.cgi | 1 + editproducts.cgi | 1 + editusers.cgi | 1 + editversions.cgi | 1 + 9 files changed, 9 insertions(+) diff --git a/editattachstatuses.cgi b/editattachstatuses.cgi index 3929940f2..910379b99 100755 --- a/editattachstatuses.cgi +++ b/editattachstatuses.cgi @@ -28,6 +28,7 @@ # Make it harder for us to do dangerous things in Perl. use diagnostics; use strict; +use lib "."; use vars qw( $template diff --git a/editcomponents.cgi b/editcomponents.cgi index 310ce5f01..19ac75c3a 100755 --- a/editcomponents.cgi +++ b/editcomponents.cgi @@ -27,6 +27,7 @@ use diagnostics; use strict; +use lib "."; require "CGI.pl"; require "globals.pl"; diff --git a/editgroups.cgi b/editgroups.cgi index 62bb4b501..fe8b32ff7 100755 --- a/editgroups.cgi +++ b/editgroups.cgi @@ -25,6 +25,7 @@ use diagnostics; use strict; +use lib "."; require "CGI.pl"; diff --git a/editkeywords.cgi b/editkeywords.cgi index a58efb02c..0afc92859 100755 --- a/editkeywords.cgi +++ b/editkeywords.cgi @@ -22,6 +22,7 @@ use diagnostics; use strict; +use lib "."; require "CGI.pl"; diff --git a/editmilestones.cgi b/editmilestones.cgi index b7ec7316f..63e27b440 100755 --- a/editmilestones.cgi +++ b/editmilestones.cgi @@ -15,6 +15,7 @@ use diagnostics; use strict; +use lib "."; require "CGI.pl"; require "globals.pl"; diff --git a/editparams.cgi b/editparams.cgi index 26f0b8576..dc6febb95 100755 --- a/editparams.cgi +++ b/editparams.cgi @@ -23,6 +23,7 @@ use diagnostics; use strict; +use lib "."; require "CGI.pl"; require "defparams.pl"; diff --git a/editproducts.cgi b/editproducts.cgi index 5db498ca1..611a98100 100755 --- a/editproducts.cgi +++ b/editproducts.cgi @@ -29,6 +29,7 @@ use diagnostics; use strict; +use lib "."; require "CGI.pl"; require "globals.pl"; diff --git a/editusers.cgi b/editusers.cgi index f15939ec2..ad124032e 100755 --- a/editusers.cgi +++ b/editusers.cgi @@ -29,6 +29,7 @@ use diagnostics; use strict; +use lib "."; require "CGI.pl"; require "globals.pl"; diff --git a/editversions.cgi b/editversions.cgi index 19ec338c3..fafdb5683 100755 --- a/editversions.cgi +++ b/editversions.cgi @@ -28,6 +28,7 @@ use diagnostics; use strict; +use lib "."; require "CGI.pl"; require "globals.pl"; -- cgit v1.2.3-24-g4f1b