SaaS CMS has officially launched! Learn more now.

E-mail links in XhtmlString properties inserts to TinyMCE with mailto-value but then replaced with link to start page


We've been troubleshooting a really odd thing around "mailto:"-links.

Looks like it triggers with some combination of host names where the root domain (or name used after the @ in e-mails) is one of the names.

To verify, create new Alloy (I get 12.23)

Start and add a host name in Settings => Manage Websites => Edit Website => Host Names, use: Redirected (permanent)

Go to a XhtmlString property in Edit Mode and add a link, select E-mail and add

At this time if you inspect value using View Source in TinyMCE or browser tools you can see that the value is: href=""

Publish and the href value gets changed to href="/EPiServer/CMS/Content/en/,,5/?epieditmode=false" - the start page... And in the template link gets rewritten to https://localhost:5000/en/

Something goes wrong and "mailto:" is somehow ignored and startpage gets picked up instead.

Adding a support case but also posts here in case someone is faster and for visibility...

Oct 20, 2023 16:23

This is a known bug, and a fix will be released next week.

Oct 21, 2023 14:48
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.