[Mailman-Developers] [ mailman-Bugs-645906 ] User supplied HTML with % kills index.ht

noreply at sourceforge.net noreply at sourceforge.net
Sun Dec 8 15:12:46 EST 2002


Bugs item #645906, was opened at 2002-11-29 19:52
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100103&aid=645906&group_id=103

Category: Pipermail
Group: 2.1 beta
>Status: Closed
Resolution: None
Priority: 5
Submitted By: Joe R. Doupnik (jdoupnik)
Assigned to: Nobody/Anonymous (nobody)
Summary: User supplied HTML with % kills index.ht

Initial Comment:
Mailman 2.1b5. Edit archtoc.html or listinfo.html,
include table with phrase width=100% and find
that the list's archive overall index.html page is
unformed (present but the various MM items
are left as bare %(foobar)s style).
 After wasting a whole day on this the problem
boils down to that percent sign in user-supplied
HTML. It kills the high level index.html file. We
don''t know about this until a full list archive
operation is performed,  because at the end
the code creates the new index.html from
the template files. Ugh.
  Likely some parser deep in the system is
overreacting to the percent symbol. Needs
fixing.

----------------------------------------------------------------------

>Comment By: Barry A. Warsaw (bwarsaw)
Date: 2002-12-08 10:12

Message:
Logged In: YES 
user_id=12800

archtoc.html and listinfo.html are templates (as implied by
their being in the templates/xx directory :) which means
Python substitutions are performed on the text.  Python
substitutions treat % as a special character so to get a
literal % in the text you need to use %%

E.g. change that to "width=100%%" and you'll be fine.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100103&aid=645906&group_id=103



More information about the Mailman-Developers mailing list