fix or suppress lint warnings detected by golangci-lint 1.55.0

Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
This commit is contained in:
Nicola Murino
2023-10-20 20:31:17 +02:00
parent 6282f95bd3
commit ba9df51b2e
17 changed files with 118 additions and 118 deletions

View File

@@ -54,7 +54,7 @@ func validateJWTToken(w http.ResponseWriter, r *http.Request, audience tokenAudi
} else {
redirectPath = webClientLoginPath
if uri := r.RequestURI; strings.HasPrefix(uri, webClientFilesPath) {
redirectPath += "?next=" + url.QueryEscape(uri)
redirectPath += "?next=" + url.QueryEscape(uri) //nolint:goconst
}
}