Click or drag to resize
TreePathUtilsGetSafeUrlPath Method
Returns the URL path without forbidden characters and trimmed to the maximal allowed length.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 10.0.0
Syntax
C#
public static string GetSafeUrlPath(
	string urlPath,
	string siteName
)

Parameters

urlPath
Type: SystemString
URL path
siteName
Type: SystemString
Site name

Return Value

Type: String
See Also