CLASS UrlSanitizationOptions
- Namespace: SuCoS.Helpers
- Source File: UrlSanitizationOptions.cs
Options for the UrlExtension class. Basically to force lowercase and to change the replacement character.
Properties
LowerCase
(bool) = true: Force to generate lowercase URLs.
ReplacementChar
(char?) = '-': The character that will be used to replace spaces and other invalid characters.
ReplaceDot
(bool) : Replace dots with the replacement character. Note that it will break file paths and domain names.