Skip to Content.
Sympa Menu

fr - Re: [sympa-dev] Re: Bug header sympa 2.3.4

Subject: Pour les administrateurs de serveurs de listes utilisant le logiciel Sympa

List archive

Chronological Thread  
  • From: Olivier Salaun - CRU <address@concealed>
  • To: address@concealed
  • Cc: address@concealed, address@concealed, address@concealed
  • Subject: Re: [sympa-dev] Re: Bug header sympa 2.3.4
  • Date: Wed, 26 Jan 2000 15:51:16 +0100

I wrote:
> New problem with mailtools module which deletes the final \n at the
> end of an empty (\s*) header field.

Graham Barr, the author of Mail::Internet modules proposes a patch that
fixes this problem. You will find it bellow.

[on my Linux RedHat 6.0 system, Header.pm is located in
/usr/lib/perl5/site_perl/5.005/Mail/]

Thanks

Olivier Salaun
Comite Reseaux des Universites
--- Header.pm.orig
+++ Header.pm
@@ -119,7 +119,7 @@
$_[0] =~ s/\s+\n/\n/sog;
}

- $_[0] =~ s/\A(\S+)\n\s*/$1 /so;
+ $_[0] =~ s/\A(\S+)\n\s*(?=\S)/$1 /so;
}




Archive powered by MHonArc 2.6.19+.

Top of Page