Fixing #14088.
Match content finder functionality in the url provider for umbracoUrlAlias.
This commit is contained in:
committed by
Michael Latouche
parent
7256d49761
commit
2d2d17d928
@@ -144,7 +144,7 @@ public class AliasUrlProvider : IUrlProvider
|
||||
foreach (var alias in aliases.Distinct())
|
||||
{
|
||||
var path = "/" + alias;
|
||||
var uri = new Uri(CombinePaths(domainUri.Uri.GetLeftPart(UriPartial.Path), path));
|
||||
var uri = new Uri(CombinePaths(domainUri.Uri.GetLeftPart(UriPartial.Authority), path));
|
||||
yield return UrlInfo.Url(
|
||||
_uriUtility.UriFromUmbraco(uri, _requestConfig).ToString(),
|
||||
domainUri.Culture);
|
||||
|
||||
Reference in New Issue
Block a user