Skip to Content.
Sympa Menu

en - [sympa-users] Bug in mhonarc-ressources.tt2 ??

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: "Gavin Younger" <address@concealed>
  • To: "sympa-users" <address@concealed>
  • Subject: [sympa-users] Bug in mhonarc-ressources.tt2 ??
  • Date: Tue, 12 Dec 2006 14:37:31 -0000

Hi,

There appears to be a wee bug within the mhonarc-ressources.tt2 file
that manifests itself when viewing any archived message where the sender
has an apostrophe in their e-mail address (apostrophes are valid
according to RFC822) such as
address@concealed

The software will misinterpret the apostrophe as a delimiting quote, and
this results in the following in my sympa.log file :

Dec 12 12:33:53 ucsmlm1 wwsympa[3839]: Failed to parse main.tt2 : file
error - parse error - msg00066.html line 51: unexpected token (s) [%
IF user.email == 'address@concealed' || is_owner %]

Replacing the line :

($tag$% IF user.email == '$FROMADDRNAME$@$FROMADDRDOMAIN$' || is_owner
%$tag$)

in mhonarc-ressources.tt2 with :

($tag$% IF user.email == "$FROMADDRNAME$@$FROMADDRDOMAIN$" || is_owner
%$tag$)

keeps our Irish friends happy ... :->

Regards,
Gavin Younger,
University of Newcastle-upon-Tyne, UK




Archive powered by MHonArc 2.6.19+.

Top of Page