URLHelper GetSafeUrlPart Method Kentico 8.1 API Reference
Returns the safe part of URL. This method doesn't proceed complete URL it handles only part of URL.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 8.0.0.0 (8.1.5347.20411)

Parameters

url
Type: OnlineSystem String
String with URL part which may contain URL-unsafe characters. Enter only part of URL without any '/' characters
siteName
Type: OnlineSystem String
Site name from where forbidden characters should be taken

Return Value

Type: OnlineString
See Also