Make sure the configured url provider mode is used when getting a url (#7189)

This commit is contained in:
Dave Woestenborghs
2020-01-10 10:41:37 +01:00
committed by Kenn Jacobsen
parent eeaa5a82d4
commit f92d0b59bd

View File

@@ -1193,7 +1193,7 @@ namespace Umbraco.Web
/// if any. In addition, when the content type is multi-lingual, this is the url for the
/// specified culture. Otherwise, it is the invariant url.</para>
/// </remarks>
public static string Url(this IPublishedContent content, string culture = null, UrlMode mode = UrlMode.Auto)
public static string Url(this IPublishedContent content, string culture = null, UrlMode mode = UrlMode.Default)
{
var umbracoContext = Composing.Current.UmbracoContext;