]> git.donarmstrong.com Git - debbugs.git/blobdiff - cgi/pkgreport.cgi
* Various changes to make debbugs-local work better (Closes: #585796)
[debbugs.git] / cgi / pkgreport.cgi
index b70a5cb6b997dd06ee3629471fe055ec2b90384b..4f4ea800af986fcd38f0c58ba04dd8e121a41a95 100755 (executable)
 use warnings;
 use strict;
 
+# Sanitize environent for taint
+BEGIN{
+    delete @ENV{qw(IFS CDPATH ENV BASH_ENV)};
+}
+
 use POSIX qw(strftime nice);
 
 use Debbugs::Config qw(:globals :text :config);