providerplaneai
    Preparing search index...

    Function assertSafeRemoteHttpUrl

    • Asserts that a remote image URL is safe (not localhost/private IP, only http/https). Resolves DNS and checks for private/loopback/link-local addresses.

      Parameters

      • rawUrl: string

        The URL to check

      Returns Promise<void>

      Error if the URL is unsafe