Standard behaviour I believe. Are you looking to render the friendly url? Wrap your Url property with a @Url.ContentUrl(Model.UrlPropertyHere)
This is part of my search result where am expecting it to return regular url string so i can open it in a new window on click. This is how it was in CMS 11. Also Itried to go through the documentation but don't see any place where it mentions about this being new or standard behavior.
Hello DD,
I think this behaviour has been around for a while. On the server side you should be able to use GetUrl method of the UrlResolver instance to achieve the same effect. Also the EPiServer.Forms package includes a helper method of GetUrlString() which may solve your problem in this case too.
We've also used this with LinkItem from the LinkItemCollection which can have the same issue:
public static string GetFriendlyUrl(this LinkItem linkItem)
{
return UrlResolver.Current.GetUrl(new UrlBuilder(linkItem.Href), ContextMode.Default) ?? string.Empty;
}