From 0f8c668f87f4ae446725c3817c31e5b7ce58e3d4 Mon Sep 17 00:00:00 2001 From: evilsocket Date: Fri, 9 Mar 2018 12:53:35 +0100 Subject: [PATCH] misc: small fix or general refactoring i did not bother commenting --- modules/http_proxy_base_sslstriper.go | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/http_proxy_base_sslstriper.go b/modules/http_proxy_base_sslstriper.go index cdaf90bb..ef45dc02 100644 --- a/modules/http_proxy_base_sslstriper.go +++ b/modules/http_proxy_base_sslstriper.go @@ -267,6 +267,7 @@ func (s *SSLStripper) Preprocess(req *http.Request, ctx *goproxy.ProxyCtx) (redi // well ... if req.URL.Scheme == "https" { + // TODO: check for max redirects? req.URL.Scheme = "http" }