Bram
01/08/2025, 2:17 PMJemayn
01/08/2025, 2:25 PMcsharp
"für Umbraco".ToUrlSegment(_shortStringHelper) == urlSegment
That method converts your string into a urlsafe string, and is the exact same method Umbraco uses to convert names to urls, so should be a safe match.
Of course it does some data handling, so
"für Umbraco"
"für-Umbraco"
"für umbraco"
may all end up as the same url string, but assuming you are fine with that based on the use caseJemayn
01/08/2025, 2:31 PMBram
01/08/2025, 2:59 PM