URLHelperIsLocalUrl Method |
Returns true if the given URL is located on current server.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 8.2.23
Syntax public static bool IsLocalUrl(
string url,
string currentDomain
)
Parameters
- url
- Type: SystemString
URL to check. - currentDomain
- Type: SystemString
Current server domain.
Return Value
Type:
BooleanSee Also