aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2006-11-03 07:31:59 +0000
committermkanat%bugzilla.org <>2006-11-03 07:31:59 +0000
commit394a014b635238518511e1c86ecdbdbe70593c5c (patch)
treec57be0489271f2a84bcf3eabfbc26bdaae32e8c9 /Bugzilla.pm
parentBug 355837: Make the webservice able to create bugs (bz_webservice_demo part) (diff)
downloadbugzilla-394a014b635238518511e1c86ecdbdbe70593c5c.tar.gz
bugzilla-394a014b635238518511e1c86ecdbdbe70593c5c.tar.bz2
bugzilla-394a014b635238518511e1c86ecdbdbe70593c5c.zip
Bug 353711: Move to Email:: modules for email sending
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=glob, a=myk
Diffstat (limited to 'Bugzilla.pm')
-rw-r--r--Bugzilla.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/Bugzilla.pm b/Bugzilla.pm
index 374b06e12..5a9d23e14 100644
--- a/Bugzilla.pm
+++ b/Bugzilla.pm
@@ -81,6 +81,9 @@ sub init_page {
# Some environment variables are not taint safe
delete @::ENV{'PATH', 'IFS', 'CDPATH', 'ENV', 'BASH_ENV'};
+ # Some modules throw undefined errors (notably File::Spec::Win32) if
+ # PATH is undefined.
+ $ENV{'PATH'} = '';
# If Bugzilla is shut down, do not allow anything to run, just display a
# message to the user about the downtime and log out. Scripts listed in