Changed CharCollection input to not special case :

This commit is contained in:
Bjarke Berg
2020-03-19 18:43:39 +01:00
parent 00418959f2
commit b93b4f7c4f
7 changed files with 94 additions and 43 deletions

View File

@@ -14,4 +14,9 @@
<Folder Include="wwwroot\Media" />
</ItemGroup>
<ItemGroup>
<_ContentIncludedByDefault Remove="wwwroot\~\App_Data\TEMP\TypesCache\umbraco-types.DESKTOP-2016.hash" />
<_ContentIncludedByDefault Remove="wwwroot\~\App_Data\TEMP\TypesCache\umbraco-types.DESKTOP-2016.list" />
</ItemGroup>
</Project>

View File

@@ -71,32 +71,18 @@
},
"RequestHandler": {
"AddTrailingSlash": true,
"CharCollection": {
" ": "-",
"\"": "",
"'": "",
"%": "",
".": "",
";": "",
"/": "",
"\\": "",
":": "",
"#": "",
"+": "plus",
"*": "star",
"&": "",
"?": "",
"æ": "ae",
"ø": "oe",
"å": "aa",
"ä": "ae",
"ö": "oe",
"ü": "ue",
"ß": "ss",
"|": "-",
"<": "",
">": ""
}
"CharCollection": [
{"Char": " ", "Replacement": "-"},
{"Char": "\"", "Replacement": ""},
{"Char": "'", "Replacement": ""},
{"Char": "%", "Replacement": ""},
{"Char": ".", "Replacement": ""},
{"Char": ";", "Replacement": ""},
{"Char": "/", "Replacement": ""},
{"Char": "\\", "Replacement": ""},
{"Char": ":", "Replacement": ""},
]
}
}
}