Skip to main content

Function: hasNestedHttpSchemeAfterFirstDelimiter()

hasNestedHttpSchemeAfterFirstDelimiter(value: string): boolean

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

Returns true when a URL contains suspicious nested HTTP(S) scheme fragments after the first scheme delimiter.

Parametersโ€‹

valueโ€‹

string

Returnsโ€‹

boolean

Remarksโ€‹

This also rejects URLs ending with a bare :// suffix, which frequently indicates malformed concatenation.