Skip to main content

Function: hasHttpAuthorityDelimiterIssue()

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

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

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