[Mailman-Users] Footer_msg
Mark Sapiro
msapiro at value.net
Fri Mar 30 22:31:03 CEST 2007
Justin Denick wrote:
>
>Has anyone tried putting href's in place.
>like
>#####<A href ="
>%(user_optionsurl)s?password=%(user_password)s&unsub=1">Unsubscribe<\A>#####
>
>or something like that.
This won't work for at least two reasons
>I tried but mailman kept messing up the html tags
This is one of the reasons. Mailman replaces things like < and > with
< and > to avoid cross site scripting (XSS) attacks.
The main reason this won't work is that the footer appears in a
text/plain message part, so tags will not be interpreted as HTML
anyway, but you can just put something like
To unsubscribe visit
%(user_optionsurl)s?password=%(user_password)s&unsub=1&unsubconfirm=1
in msg_footer and many MUAs will make it a clickable link anyway. Note
that you also need the unsubconfirm=1 which corresponds to the "Yes, I
really want to unsubscribe" checkbox.
--
Mark Sapiro <msapiro at value.net> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
More information about the Mailman-Users
mailing list