From: Jonathan McDowell Date: Wed, 1 Nov 2006 13:37:37 +0000 (+0000) Subject: Ensure we split commands for MIME signed mail. X-Git-Url: https://the.earth.li/gitweb/?p=autodns.git;a=commitdiff_plain;h=b7da774a5471f2ad9c0c32a7ac43519c603c4e81 Ensure we split commands for MIME signed mail. Make sure we split incoming commands that were MIME signed on new lines. git-archimport-id: noodles@earth.li--pie/autodns--mainline--1.0--patch-19 --- diff --git a/autodns.pl b/autodns.pl index ab5859c..04d0d51 100755 --- a/autodns.pl +++ b/autodns.pl @@ -261,6 +261,7 @@ if ($entity->parts) { # And grab what it has to say. @GPGERROR=; @COMMANDS=; + @COMMANDS = split /\n/,$entity->bodyhandle->as_string; close GPGERR; close GPGOUT; waitpid $pid, 0;