Click or drag to resize
PageUrlPathNormalizerNormalize Method
Ensures correct format of the urlPath.

Namespace: CMS.DocumentEngine.Internal
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 13.0.131
Syntax
C#
public static NormalizedUrlPath Normalize(
	string urlPath
)

Parameters

urlPath
Type: SystemString
URL path.

Return Value

Type: NormalizedUrlPath
Remarks

Following rules are applied

Multiple slashes are replaced by single slash.

Trailing slash is removed.

Query string and anchor is removed.

See Also