mhonarc-dev

[bug #20142] strip backslash in rfc822 From: field

2007-10-09 21:36:17

Follow-up Comment #5, bug #20142 (project mhonarc):

--- /var/tmp/mhutil.pl  2007-10-09 20:30:36.000000000 -0700
+++ /usr/share/mhonarc/mhutil.pl        2007-10-09 21:32:05.000000000 -0700
@@ -176,7 +176,8 @@
     foreach $tok (@tokens) {
        next  if $skip;
        if ($tok =~ /^"/) {   # Quoted string
           $tok =~ s/^"//;  $tok =~ s/"$//; 
+           $tok =~ s/\(.)/$1/g; $tok =~ s/\"//g;
            return $tok;
        }
        if ($tok =~ /^(/) {  # Comment


    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?20142>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/

---------------------------------------------------------------------
To sign-off this list, send email to majordomo(_at_)mhonarc(_dot_)org with the
message text UNSUBSCRIBE MHONARC-DEV

<Prev in Thread] Current Thread [Next in Thread>