[api] Avoid potentially leaking OAuth token to 3rd parties
This ensures that calling `hub api http://example.com/foo` doesn't accidentally send the OAuth token for `github.com` to `example.com`.
Showing
想要评论请 注册 或 登录
This ensures that calling `hub api http://example.com/foo` doesn't accidentally send the OAuth token for `github.com` to `example.com`.