Replace uppercase chars to make behaviour consistent
(cherry picked from commit 68cf801689)
# Conflicts:
# src/Umbraco.Core/Extensions/RequestHandlerSettingsExtension.cs
This commit is contained in:
committed by
Sebastiaan Janssen
parent
143fbef3d7
commit
68ff7b234d
@@ -19,30 +19,36 @@ public class RequestHandlerSettings
|
||||
|
||||
internal static readonly CharItem[] DefaultCharCollection =
|
||||
{
|
||||
new () { Char = " ", Replacement = "-" },
|
||||
new () { Char = "\"", Replacement = string.Empty },
|
||||
new () { Char = "'", Replacement = string.Empty },
|
||||
new () { Char = "%", Replacement = string.Empty },
|
||||
new () { Char = ".", Replacement = string.Empty },
|
||||
new () { Char = ";", Replacement = string.Empty },
|
||||
new () { Char = "/", Replacement = string.Empty },
|
||||
new () { Char = "\\", Replacement = string.Empty },
|
||||
new () { Char = ":", Replacement = string.Empty },
|
||||
new () { Char = "#", Replacement = string.Empty },
|
||||
new () { Char = "+", Replacement = "plus" },
|
||||
new () { Char = "*", Replacement = "star" },
|
||||
new () { Char = "&", Replacement = string.Empty },
|
||||
new () { Char = "?", Replacement = string.Empty },
|
||||
new () { Char = "æ", Replacement = "ae" },
|
||||
new () { Char = "ä", Replacement = "ae" },
|
||||
new () { Char = "ø", Replacement = "oe" },
|
||||
new () { Char = "ö", Replacement = "oe" },
|
||||
new () { Char = "å", Replacement = "aa" },
|
||||
new () { Char = "ü", Replacement = "ue" },
|
||||
new () { Char = "ß", Replacement = "ss" },
|
||||
new () { Char = "|", Replacement = "-" },
|
||||
new () { Char = "<", Replacement = string.Empty },
|
||||
new () { Char = ">", Replacement = string.Empty },
|
||||
new() { Char = " ", Replacement = "-" },
|
||||
new() { Char = "\"", Replacement = string.Empty },
|
||||
new() { Char = "'", Replacement = string.Empty },
|
||||
new() { Char = "%", Replacement = string.Empty },
|
||||
new() { Char = ".", Replacement = string.Empty },
|
||||
new() { Char = ";", Replacement = string.Empty },
|
||||
new() { Char = "/", Replacement = string.Empty },
|
||||
new() { Char = "\\", Replacement = string.Empty },
|
||||
new() { Char = ":", Replacement = string.Empty },
|
||||
new() { Char = "#", Replacement = string.Empty },
|
||||
new() { Char = "&", Replacement = string.Empty },
|
||||
new() { Char = "?", Replacement = string.Empty },
|
||||
new() { Char = "<", Replacement = string.Empty },
|
||||
new() { Char = ">", Replacement = string.Empty },
|
||||
new() { Char = "+", Replacement = "plus" },
|
||||
new() { Char = "*", Replacement = "star" },
|
||||
new() { Char = "æ", Replacement = "ae" },
|
||||
new() { Char = "Æ", Replacement = "ae" },
|
||||
new() { Char = "ä", Replacement = "ae" },
|
||||
new() { Char = "Ä", Replacement = "ae" },
|
||||
new() { Char = "ø", Replacement = "oe" },
|
||||
new() { Char = "Ø", Replacement = "oe" },
|
||||
new() { Char = "ö", Replacement = "oe" },
|
||||
new() { Char = "Ö", Replacement = "oe" },
|
||||
new() { Char = "å", Replacement = "aa" },
|
||||
new() { Char = "Å", Replacement = "aa" },
|
||||
new() { Char = "ü", Replacement = "ue" },
|
||||
new() { Char = "Ü", Replacement = "ue" },
|
||||
new() { Char = "ß", Replacement = "ss" },
|
||||
new() { Char = "|", Replacement = "-" },
|
||||
};
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user