[vhffs-dev] [1376] fixed the double prefix bug ( however listengine still lack of a full encodings support on prefixes)

[ Thread Index | Date Index | More vhffs.org/vhffs-dev Archives ]


Revision: 1376
Author:   gradator
Date:     2009-03-15 14:58:30 +0100 (Sun, 15 Mar 2009)

Log Message:
-----------
fixed the double prefix bug (however listengine still lack of a full encodings support on prefixes)

Modified Paths:
--------------
    trunk/vhffs-listengine/src/listengine.pl


Modified: trunk/vhffs-listengine/src/listengine.pl
===================================================================
--- trunk/vhffs-listengine/src/listengine.pl	2009-03-14 01:56:49 UTC (rev 1375)
+++ trunk/vhffs-listengine/src/listengine.pl	2009-03-15 13:58:30 UTC (rev 1376)
@@ -642,7 +642,7 @@
 
 	#Add prefix if not null
 	my $subject = $mail->get('Subject');
-	my $tsubject = $subject;
+	my $tsubject = Encode::decode('MIME-Header', $subject);
 	$tsubject =~ s/[\n\r]//g;
 	my $prefix = $list->get_prefix;
 	my $qprefix = quotemeta $prefix;


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/