Skip to main content

Function: hasHttpAuthorityDelimiterIssue()

function hasHttpAuthorityDelimiterIssue(
value: string,
protocols: readonly string[]
): boolean;

Defined in: shared/utils/urlSchemeValidation.ts:36

Returns true when an HTTP(S) URL candidate has an invalid authority delimiter shape (for example https:/example.com).

Parametersโ€‹

valueโ€‹

string

protocolsโ€‹

readonly string[]

Returnsโ€‹

boolean