CampaignAssetUrlInfoHelperIsNormalizedUrlTarget Method |
Returns true if the given url is valid URL target.
Namespace: CMS.WebAnalyticsAssembly: CMS.WebAnalytics (in CMS.WebAnalytics.dll) Version: 13.0.131
Syntax public static bool IsNormalizedUrlTarget(
string url,
SiteInfo site = null
)
Parameters
- url
- Type: SystemString
URL to check. - site (Optional)
- Type: CMS.SiteProviderSiteInfo
Site of the URL.
Return Value
Type:
BooleanRemarks Valid URL target is absolute URL that uses one of site presentation URLs and is without query strings,
fragments and trailing slash.
See Also