fix problem with quoted strings in filter_conv.pl
authorPaul Mangan <paul@claws-mail.org>
Tue, 3 Dec 2002 14:06:00 +0000 (14:06 +0000)
committerPaul Mangan <paul@claws-mail.org>
Tue, 3 Dec 2002 14:06:00 +0000 (14:06 +0000)
AUTHORS
ChangeLog.claws
tools/filter_conv.pl

diff --git a/AUTHORS b/AUTHORS
index 2f21e01..65ad55c 100644 (file)
--- a/AUTHORS
+++ b/AUTHORS
@@ -163,3 +163,4 @@ contributors (beside the above; based on Changelog)
        Nicolas Kaiser
        Ivan Francolin Martinez
        Topia
+       Luke Plant
index 8ec237d..c2a074e 100644 (file)
@@ -3,6 +3,10 @@
        * po/POTFILES.in
                update to reflect recent changes (thanks
                to Ricardo Mones Lastra)
+               
+       * tools/filter_conv.pl
+                fix problem with quoted strings. Patch submitted
+                by Luke Plant <lukeplant@softhome.net>
 
 2002-12-03 [paul]      0.8.6claws52
 
index 5ba7ba9..74ac353 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 :