Fixed parsing of DKIM record with ; in quotes
authorJamie Cameron <jcameron@webmin.com>
Sat, 18 Dec 2010 19:30:38 +0000 (11:30 -0800)
committerJamie Cameron <jcameron@webmin.com>
Sat, 18 Dec 2010 19:30:38 +0000 (11:30 -0800)
http://sourceforge.net/tracker/?func=detail&atid=117457&aid=3139576&group_id=17457

bind8/records-lib.pl

index 732d8f6..ae5ca6e 100755 (executable)
@@ -36,7 +36,7 @@ while($line = <FILE>) {
                if ($line =~ /^[^"]*"[^"]*$/) {
                        # Line has only one ", meaning that a ; in the middle
                        # of a quoted string broke it! Fix up
-                       $line .= $comment;
+                       $line .= ";".$comment;
                        $comment = "";
                        }
                }