Type Alias: HttpUrlRejectedResult
HttpUrlRejectedResult =
Readonly<{ok:false;reason:string;safeUrlForLogging:string; }>
Defined in: shared/utils/urlSafety.ts:72
Result of validating an HTTP(S) URL candidate.
Remarksโ
This is intentionally shaped similarly to
ExternalOpenUrlValidationResult so IPC validators and UI layers can
consistently surface a short reason string without re-implementing
trimming, newline checks, or byte-budget limits.