URLHelperGetSafeUrlPart Method |
Returns the safe part of URL. This method doesn't proceed complete URL it handles only part of URL.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 8.2.23
Syntax public static string GetSafeUrlPart(
string url,
string siteName
)
Parameters
- url
- Type: SystemString
String with URL part which may contain URL-unsafe characters. Enter only part of URL without any '/' characters - siteName
- Type: SystemString
Site name from where forbidden characters should be taken
Return Value
Type:
StringSee Also