Skip to Content.
Sympa Menu

en - Re: [sympa-users] Adding images to a list info page

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: David Verdin <address@concealed>
  • To: address@concealed
  • Subject: Re: [sympa-users] Adding images to a list info page
  • Date: Mon, 14 Feb 2011 17:00:14 +0100

Woops...
My fault for this one, sorry. I'll apply your patch ASAP - unfortunately, I'm out of town until the end of the week.
We'll release a new stable version with several bug fixes in the few days after.

Regards,

David Verdin

Le 14/02/11 16:28, Hiroshi Hasebe a écrit :
I was wondering why <img> tags didn't work in customized list info pages, i.e.,
	Admin -> Customizing -> HTML pages -> edit (-> add an <img> tag)
and just came across the following statement in the bin/tools.pm file:
  src =">" '^http://'.&Conf::get_robot_conf($parameters{'robot'},'http_host'),

The attached is a one-liner fix that I made. The <img> src attribute won't be
filtered out as long as the image file resides on the same host.
Since the "http_host" parameter is used to retrieve the base URL of a Sympa
host, the value always starts with an "http://" (or "https://") prefix.
I hope I'm not mistaken... I'm just another happy Sympa user.

Regards.

Hiroshi Hasebe

--
David Verdin
Comité réseau des universités

Due to the limitations of human brain, I fail to remember all the mails.
So if you want your bug reports or feature requests for Sympa to be processed, please post them to the Sympa tracker

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




Archive powered by MHonArc 2.6.19+.

Top of Page