fix problem with quoted strings in filter_conv.pl
[claws.git] / tools / filter_conv.pl
index 5ba7ba96d5ea274f3d49282f292323b89f24d978..74ac353b0dc6944b50c84d936dacc426fdb968e6 100644 (file)
@@ -57,6 +57,8 @@ open(FILTERRC, "<filterrc") or die("Can't find your old filter rules ('filterrc'
         $mode_two,
         $action) = split(/\t/);
 
+    $value_one =~ s/\"/\\\"/g ;
+    $value_two =~ s/\"/\\\"/g ;
     $action = $action eq "m" ? "move" : "delete";
     $destination = $destination =~ m!^\#mh/! ?
                      $destination :