aboutsummaryrefslogtreecommitdiffstats
path: root/describecomponents.cgi
diff options
context:
space:
mode:
authorjustdave%syndicomm.com <>2002-01-20 09:44:34 +0000
committerjustdave%syndicomm.com <>2002-01-20 09:44:34 +0000
commit4e6767d4c3d1b0b583f4ec076992345545294748 (patch)
tree44d10a299f4d910400fb420b38e21e769c00be7e /describecomponents.cgi
parent72f340e3a12668c9356102c71f864afa986e001a (diff)
downloadbugs-4e6767d4c3d1b0b583f4ec076992345545294748.tar
bugs-4e6767d4c3d1b0b583f4ec076992345545294748.tar.gz
bugs-4e6767d4c3d1b0b583f4ec076992345545294748.tar.bz2
bugs-4e6767d4c3d1b0b583f4ec076992345545294748.tar.xz
bugs-4e6767d4c3d1b0b583f4ec076992345545294748.zip
Fix for bug 108982: enable taint mode for all user-facing CGI files.
Patch by Brad Baetz <bbaetz@student.usyd.edu.au> r= jake, justdave
Diffstat (limited to 'describecomponents.cgi')
-rwxr-xr-xdescribecomponents.cgi4
1 files changed, 3 insertions, 1 deletions
diff --git a/describecomponents.cgi b/describecomponents.cgi
index bf6f94a34..9a2b99cc2 100755
--- a/describecomponents.cgi
+++ b/describecomponents.cgi
@@ -1,4 +1,4 @@
-#!/usr/bonsaitools/bin/perl -w
+#!/usr/bonsaitools/bin/perl -wT
# -*- Mode: perl; indent-tabs-mode: nil -*-
#
# The contents of this file are subject to the Mozilla Public
@@ -25,6 +25,8 @@ use vars %::FORM;
use diagnostics;
use strict;
+use lib qw(.);
+
require "CGI.pl";
ConnectToDatabase();