mirror of
https://github.com/qdm12/gluetun.git
synced 2026-08-06 20:33:44 +02:00
chore(lint): bump linter from v2.4.0 to v2.11.4
This commit is contained in:
@@ -29,7 +29,7 @@ func (h *handler) handleHTTP(responseWriter http.ResponseWriter, request *http.R
|
||||
setForwardedHeaders(request)
|
||||
}
|
||||
|
||||
response, err := h.client.Do(request)
|
||||
response, err := h.client.Do(request) //nolint:gosec // SSRF is the feature: HTTP proxy forwards to arbitrary URLs
|
||||
if err != nil {
|
||||
http.Error(responseWriter, "server error", http.StatusInternalServerError)
|
||||
h.logger.Warn("cannot process request for client " + request.RemoteAddr + ": " + err.Error())
|
||||
|
||||
Reference in New Issue
Block a user