@maschinenlesbar.org/openka-cli
    Preparing search index...

    Function nonPublicHostProblem

    • Why url names a host only this machine or its network can reach — a loopback, private, link-local or otherwise non-public address, or localhost — or undefined.

      Only the literal host is judged; a name is not resolved, so a public name that a resolver answers with a private address is not caught here. The WHATWG URL parser has already normalised the IPv4 spellings (2130706433, 0x7f.1). An upstream chooses the document URLs a sync fetches and every redirect target, and nothing stopped it from naming such a host (security audit 2026-10-27).

      Parameters

      • url: string

      Returns string | undefined