Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

Mailto links for properties of type Url gets rendered incorrectly

Found in

EPiServer.CMS.Core 7.0.586.0

Fixed in

EPiServer.CMS.Core 9.2.0

(Or a related package)

Created

Sep 16, 2015

Updated

Jun 27, 2018

Area

CMS Core

State

Closed, Fixed and tested


Description

Using the Email option in the edit link dialog for a property of type url results in the link being rendered incorrectly by the UrlResolver.

Steps to reproduce:
1.Have the following definition in Model and View
Model:
[Display(
GroupName = SystemTabNames.Content,
Order = 30)]
public virtual Url Info

{ get; set; }

View:
@Url.ContentUrl(Model.CurrentPage.Info)
2. In the All properties mode in the edit link dialog select the Email option and input info@mail.com

Actual result
"mailto://info@mail.com:25" e.g http://screencast.com/t/R4jn2O0B

Expected result
info@mail.com