Fixes more bugs and outbound routing for additional urls

This commit is contained in:
Shannon
2018-04-26 22:54:36 +10:00
parent 23c40cbf2c
commit ffd85b4e94
9 changed files with 75 additions and 296 deletions

View File

@@ -170,7 +170,7 @@ namespace Umbraco.Web.PublishedCache.NuCache
if (_cultureNames == null)
{
var d = new Dictionary<string, PublishedCultureName>();
var d = new Dictionary<string, PublishedCultureName>(StringComparer.InvariantCultureIgnoreCase);
foreach(var c in _contentData.CultureInfos)
{
d[c.Key] = new PublishedCultureName(c.Value.Name, c.Value.Name.ToUrlSegment());