Skip to Content.
Sympa Menu

en - RE: [en@sympa] HTML Links placed on a Sympa list's home page to external sites don't work

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: "Widerski, Betty" <address@concealed>
  • To: IKEDA Soji <address@concealed>
  • Cc: "address@concealed" <address@concealed>
  • Subject: RE: [en@sympa] HTML Links placed on a Sympa list's home page to external sites don't work
  • Date: Wed, 24 May 2023 18:39:17 +0000

Thanks - that worked in my Dev environment. This brings up a related (for me)
question:

I know after modifying sympa.conf I need to restart sympa and wwsympa. How
cautious do I need to be when doing that so as not to have a list user's post
to a list not fail if it happens as I am doing the restart? It seems to take
a minute or so - should I therefore only schedule Prod Sympa restarts during
a scheduled server outage window, not the middle of a workday?

Betty

-----Original Message-----
From: IKEDA Soji <address@concealed>
Sent: Wednesday, May 24, 2023 3:13 AM
To: Widerski, Betty <address@concealed>
Cc: address@concealed
Subject: Re: [en@sympa] HTML Links placed on a Sympa list's home page to
external sites don't work

Hi Betty,

On 2023/05/24 4:47, Widerski, Betty wrote:
> I want to put a mailto: link on a list's home page, like <a
> href="mailto:address@concealed?subject=unsubscribe mylist"
> target="_blank">Unsubscribe from mylist</a>
>
> It appears on the list home page as if it's a link, but clicking on it does
> nothing. I tried with and without target="_blank" to open a new window.
>
> I then tried linking to a basic website:
> <a
> href="https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%25
> 2Fmy.site.edu%2F&data=05%7C01%7Cbwiderski%40hbs.edu%7C67388666a52e46d1
> 24b608db5c264df9%7C09fd564ebf4243218f2db8e482f8635c%7C0%7C0%7C63820509
> 1821709350%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzI
> iLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=ntSO0UXidvqPDTAj
> wd8n8Lp43rkuQPGmPhRVAa70wec%3D&reserved=0">go here</a>
>
> This also looked like a link but didn't function. I then tried linking to
> an internal Sympa web_tt2 page:
> <a
> href="https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%25
> 2Flistsdev.site.edu%2Flists%2Fhelp%2Fadmin-po-createlist.html&data=05%
> 7C01%7Cbwiderski%40hbs.edu%7C67388666a52e46d124b608db5c264df9%7C09fd56
> 4ebf4243218f2db8e482f8635c%7C0%7C0%7C638205091821709350%7CUnknown%7CTW
> FpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6
> Mn0%3D%7C3000%7C%7C%7C&sdata=4ICkPcSTXasOcXoA9KNLcE7KmMOax8DbiEIbBf9Lq
> lM%3D&reserved=0">internal link</a>
>
> The link to an internal page works. Is there some configuration in Sympa
> that prevents links to external sites working when the HTML is on a Sympa
> page?
>
> I have partly gotten around it by having a separate nonSympa WWW root above
> it (Sympa is listsdev.site.edu/lists, nonSympa is
> listsdev.site.edu/something.html). If I put the mailto: URL on an HTML page
> external to Sympa but still on the same server it works properly, so it
> feels like Sympa is the block.

To prevent users from inserting potentially dangerous external links into
Sympa web pages, links to external sites other than those allowed by
allowed_external_origin parameter are disabled. Please see below for
details:

https://www.sympa.community/gpldoc/man/sympa_config.5.html#allowed_external_origin


Regards,
-- Soji

> Thanks
> Betty
>
> Betty Widerski
> Cloud & Server Engineering - HBS Information Technology HARVARD
> BUSINESS SCHOOL Shad 108 N |
> address@concealed<mailto:address@concealed> | T: 617.495.6642
>
>

--
株式会社 コンバージョン
ITソリューション部 システムソリューション1グループ 池田荘児
e-mail address@concealed
https://www.conversion.co.jp/



Archive powered by MHonArc 2.6.19+.

Top of Page