]> git.proxmox.com Git - pmg-api.git/commitdiff
do not use taint mode (revert previous commit)
authorDietmar Maurer <dietmar@proxmox.com>
Wed, 15 Feb 2017 07:33:25 +0000 (08:33 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Wed, 15 Feb 2017 07:34:36 +0000 (08:34 +0100)
Too many side effects ...

bin/pmg-smtp-filter

index 8ccf1e0a93af55a52eb4cf2e22f201844b7fd9a4..34ac50718485d1dcefb0b9935d3f95065e164943 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -T
+#!/usr/bin/perl
 
 use strict;
 use warnings;
@@ -94,9 +94,6 @@ if (!$opt_testmode) {
     $min_spare_servers = 1;
     $max_spare_servers = 4;
     $max_requests = 20;
-} else {
-    # untaint $opt_testmode
-    ($opt_testmode) = $opt_testmode =~ /^(.*)$/;
 }
 
 $opt_max_dequeue = 0 if $opt_testmode;