Skip to Content.
Sympa Menu

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

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Olivier Salaün - CRU <address@concealed>
  • To: Gavin Younger <address@concealed>
  • Cc: sympa-users <address@concealed>
  • Subject: [sympa-users] Re: Bug in mhonarc-ressources.tt2 ??
  • Date: Tue, 12 Dec 2006 16:49:57 +0100

Hi Gavin,

I've applied your patch in the CVS development version :
http://sourcesup.cru.fr/cgi/viewcvs.cgi/sympa/src/etc/mhonarc-ressources.tt2?r1=1.40&r2=1.41

You might find other places in Sympa code where apostrophes are not allowed in email addresses. Please submit a bug report via our tracker : https://sourcesup.cru.fr/tracker/?group_id=23

Thanks.

Gavin Younger wrote:
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 ... :->




Archive powered by MHonArc 2.6.19+.

Top of Page