diff --git a/autodiscover/autodiscover.go b/autodiscover/autodiscover.go index 5fb8093..557f251 100644 --- a/autodiscover/autodiscover.go +++ b/autodiscover/autodiscover.go @@ -389,6 +389,7 @@ func redirectAutodiscover(redirdom string) (string, error) { return resp.Header.Get("Location"), nil } + //InsecureRedirectsO365 allows forwarding the Authorization header even when we shouldn't type InsecureRedirectsO365 struct { Transport http.RoundTripper