We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab84610 commit cb201fdCopy full SHA for cb201fd
internal/ghmcp/server.go
@@ -408,6 +408,7 @@ func checkSubdomainIsolation(scheme, hostname string) bool {
408
client := &http.Client{
409
Timeout: 5 * time.Second,
410
// Don't follow redirects - we just want to check if the endpoint exists
411
+ //nolint:revive // parameters are required by http.Client.CheckRedirect signature
412
CheckRedirect: func(req *http.Request, via []*http.Request) error {
413
return http.ErrUseLastResponse
414
},
0 commit comments