Skip to main content

shared/utils/urlSchemeValidation

URL scheme-structure validation helpers shared across URL validators.

Remarksโ€‹

These guards intentionally focus on string structure before delegating to parser-level or validator.js checks. Centralizing them prevents policy drift between modules that validate HTTP(S) URLs for different trust boundaries.

Functionsโ€‹