Subject: The mailing list for listmasters using Sympa
List archive
- 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
-
[sympa-users] Bug in mhonarc-ressources.tt2 ??,
Gavin Younger, 12/12/2006
- [sympa-users] Re: Bug in mhonarc-ressources.tt2 ??, Olivier Salaün - CRU, 12/12/2006
Archive powered by MHonArc 2.6.19+.