fix(api): avoid panic on invalid absolute endpoint URL

Description

Ignore url.Parse errors caused glab api to pass a nil *url.URL into NewHTTPRequest and panic in URL.String(). Absolute endpoints (containing ://) bypass the validated base URL and could be malformed user input.

Resolves #8264 (closed)

Merge request reports

Loading