[Mailman-Users] Bug in Subscribe Template / Subscribe Script

Marc Logemann mlogemann at morelogs.de
Fri Aug 24 10:33:17 CEST 2001


This patch prevents only the incorrect HTML generation with
two <Body> tags. Besides this you still have two <html> tags
and two </html> and so on...

i dont want to have these nasty HTML tags submitted to my
output, this makes templates totally obsolete.

It seems that i must edit subscribe script in cgi-bin
but can anybody of you tell me how to compile the
script after modifying it :)

thx

> On Thu, 23 Aug 2001 13:54:24 -0700
> arandall  <Amanda> wrote:

>> ::whispering:: Hack the source, Luke...

> One could also apply the following patch from the Debian package
> which seems to do The Right Thing:

> --<cut>--
> --- mailman-2.0.6.orig/Mailman/htmlformat.py
> +++ mailman-2.0.6/Mailman/htmlformat.py
> @@ -278,7 +278,7 @@
>          if self.title:
>              output.append('%s<TITLE>%s</TITLE>' % (tab, self.title))
>          output.append('%s</HEAD>' % tab)
> -        output.append('%s<BODY' % tab)
> +#        output.append('%s<BODY' % tab)
>         quals = []
>         for k, v in kws.items():
>             quals.append('%s="%s"' % (k, v))
> --<cut>--

> --
> J C Lawrence                                    )\._.,--....,'``.
> ---------(*)                                   /,   _.. \   _\  ;`._ ,.
> claw at kanga.nu                                 `._.-(,_..'--(,_..'`-.;.'
> http://www.kanga.nu/~claw/                     Oh Freddled Gruntbuggly



morelogs  |  Marc Logemann,  CTO
____________________________________________________________
Rellinghauser Str. 332 · D-45136 Essen · Germany
T: +49 201 84 188-177 · F: +49 201 84 188-199
mlogemann at morelogs.de · http://www.morelogs.de





More information about the Mailman-Users mailing list