]> git.donarmstrong.com Git - debbugs.git/blobdiff - cgi/bugreport.cgi
* Various changes to make debbugs-local work better (Closes: #585796)
[debbugs.git] / cgi / bugreport.cgi
index 8692146485297e70cf3bd9e83f255c16056d028e..8ad688f6923b501ea836557574b2a63f881c738a 100755 (executable)
@@ -1,8 +1,13 @@
-#!/usr/bin/perl -wT
+#!/usr/bin/perl
 
 use warnings;
 use strict;
 
+# Sanitize environent for taint
+BEGIN{
+    delete @ENV{qw(IFS CDPATH ENV BASH_ENV)};
+}
+
 use POSIX qw(strftime);
 use MIME::Parser;
 use MIME::Decoder;