Pular para o conteúdo principal

Function: validateHttpBaseUrl()

validateHttpBaseUrl(baseUrl, options): BaseUrlIssue[]

Defined in: provider-sdk/src/errors.ts:130

Shared http(s) baseUrl validation for adapters (single source instead of four drifted copies). Embedded credentials (https://user:pass@host/) are rejected: they leak into logs/errors and bypass the write-only secret model (PROV-33 L8).

Parameters

baseUrl

string | null | undefined

options

required

boolean

Returns

BaseUrlIssue[]