@maschinenlesbar.org/fim-portal-cli
    Preparing search index...

    Function validateBaseUrl

    • Check a base URL against every rule (baseUrlProblem: parseable, http(s) only, no query or fragment, no whitespace or control characters) and return it with trailing slashes stripped. Throws a FimValidationError (Invalid baseUrl: <reason>): a bad base URL is a configuration error, not a transport failure. The RequestEngine constructor runs it on the raw value; the CLI's --base-url parser applies the same rule.

      Parameters

      • raw: string

      Returns string