Vulnerability in EPiServer.Forms
Åke is listed before Anders when I have something like this:
var query = SearchClient.Instance.UnifiedSearchFor(this.QueryParameter, Language.Swedish)
And then this:
query = query.OrderBy(x => x.SearchTitle);
Hi,Could you please send the values of SearchTitle for 'Anders' and 'Åke'? Using simply the values 'Anders' and 'Åke' will list 'Anders' before 'Åke' (as we swedes would like it to be).
In Fiddler I can see that my search Request contains the sort value "SearchTitle$$string.sort".
Looking at the response, the first item is:
And then the one after:
Weird is that each hit has a "sort" key with a value that contains something that looks like Chinese chars (Ꭰ䭋椩ぃ⤹䳌窞䄭¿❂䀱砈硠). I'm guessing this is the problem?
I'm using 22.214.171.1248 and EPi 6.1.379.502.
The sort key is generated by a set of collation rules and should look a little strange. Can you try 'clearing' your index (to get our latest and greatest ruleset) and reindex your documents?
Great! Åke hits rock bottom now.