Click or drag to resize
TreePathUtilsGetSafeUrlPath Method (String, String, Boolean)
Returns the safe equivalent to the given URLPath.

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

Parameters

urlPath
Type: SystemString
Original URL path
siteName
Type: SystemString
Site name
allowLimitReplacements
Type: SystemBoolean
Indicates whether replacements should be limited if replacement is enabled globally

Return Value

Type: String
See Also