Skip to Content.
Sympa Menu

en - Re: [sympa-users] Parse error in viewing archives

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Olivier Salaün - CRU <address@concealed>
  • To: Kazuo Moriwaka <address@concealed>
  • Cc: address@concealed
  • Subject: Re: [sympa-users] Parse error in viewing archives
  • Date: Thu, 17 Nov 2005 11:54:41 +0100

You're right Kazuo, the problem is apparently due to mhonarc applying the addressmodifycode (that replaces email with [hidden_head]....) after the HTML transformation has been done (adding the [IF user.email ==...). It leeds to the email address in the TT2 condition being replaced with [hidden_head....

Tanel, could you please add a bug report for this problem here : http://www.sympa.org/mantis/view_all_bug_page.php
(Please indicate what version of Mhonarc you are using to help us reproduce)

Thank you.

Kazuo Moriwaka wrote:

Thank you for your report. I get the problem!

This is caused by nesting tags.


In mhonarc-resources.tt2:396 (in sympa 5.0.1):

($tag$% IF user.email == '$FROMADDR$' %$tag$)

This line is converted ( by archived.pl and mhonarc ) as:

(cf9e863e7c% IF user.email ==
'(cf9e863e7c%hidden_head%cf9e863e7c)kadri(cf9e863e7c%hidden_at%cf9e863e7c)vykk.vil.ee(cf9e863e7c%hidden_end%cf9e863e7c)'
%cf9e863e7c)

An opening tag '(cf9e863e7c%' is closed at first close tag '%cf9e863e7c)'
which is before 'kadri'.
It supply a string ' IF user.email == '(cf9e863e7c%hidden_head' to template engine. This is meaningless for template engine.
To workaround this problem, set 'web_archive_spam_protection' option as
'none'. (This way has some risks for spam.)


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature




Archive powered by MHonArc 2.6.19+.

Top of Page