diff options
author | lpsolit%gmail.com <> | 2006-06-14 09:26:27 +0200 |
---|---|---|
committer | lpsolit%gmail.com <> | 2006-06-14 09:26:27 +0200 |
commit | 9d8e3ef8873724dff896687a783dbd1ff3295297 (patch) | |
tree | 037d81b4d9d078fb5ba351bb314e58d217da02c3 /Bugzilla.pm | |
parent | 9d666ab3e6c3516d5b1b63d560c20c19e416e542 (diff) | |
download | bugzilla-9d8e3ef8873724dff896687a783dbd1ff3295297.tar.gz bugzilla-9d8e3ef8873724dff896687a783dbd1ff3295297.tar.xz |
Bug 313255: Move $::ENV{foo} and $::SIG{foo} out of globals.pl - Patch by Frédéric Buclin <LpSolit@gmail.com> r=mkanat a=myk
Diffstat (limited to 'Bugzilla.pm')
-rw-r--r-- | Bugzilla.pm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Bugzilla.pm b/Bugzilla.pm index 349b05f5f..a100c0cff 100644 --- a/Bugzilla.pm +++ b/Bugzilla.pm @@ -59,6 +59,9 @@ use constant SHUTDOWNHTML_EXIT_SILENTLY => [ # Global Code ##################################################################### +# Some environment variables are not taint safe +delete @::ENV{'PATH', 'IFS', 'CDPATH', 'ENV', 'BASH_ENV'}; + # 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 # SHUTDOWNHTML_EXEMPT are exempt from this message. |