All tests green

This commit is contained in:
Stephan
2018-04-28 09:55:36 +02:00
parent 923fdf9199
commit 27390afe86
6 changed files with 39 additions and 5 deletions

View File

@@ -178,9 +178,14 @@ namespace Umbraco.Web.PublishedCache.NuCache
var part = parts[i++];
content = content.Children.FirstOrDefault(x =>
{
// fixme - should use ISystemDefaultCultureAccessor NOT ILocalizationService!
var urlName = x.GetUrlName(_localizationService, culture);
return urlName == part;
});
// fixme - if content has a wildcard domain, switch culture! or, shall we?
// no - do NOT support wildcard domains, it makes no sense
// OTOH support '*/en' as a valid domain
}
return content;
}