Merge remote-tracking branch 'origin/v9/dev' into v9/bugfix/Refractor_UmbracoContextAccessor

This commit is contained in:
Elitsa Marinovska
2021-08-17 13:11:45 +02:00
55 changed files with 1429 additions and 1267 deletions

View File

@@ -84,7 +84,7 @@ namespace Umbraco.Cms.Core.Routing
// and then the comparisons in IsMatch can be way faster - and allocate way less strings
const string propertyAlias = Constants.Conventions.Content.UrlAlias;
var test1 = alias.TrimStart('/') + ",";
var test1 = alias.TrimStart(Constants.CharArrays.ForwardSlash) + ",";
var test2 = ",/" + test1; // test2 is ",/alias,"
test1 = "," + test1; // test1 is ",alias,"