chore(lint): suppress gosec false positives on SSRF-safe HTTP client calls

This commit is contained in:
kolaente
2026-03-23 16:52:25 +01:00
committed by kolaente
parent 848a4e7f07
commit cc22acdf3e
6 changed files with 9 additions and 9 deletions

View File

@@ -32,7 +32,7 @@ func unsplashImage(url string, c *echo.Context) error {
if err != nil {
return err
}
resp, err := utils.NewSSRFSafeHTTPClient().Do(req)
resp, err := utils.NewSSRFSafeHTTPClient().Do(req) //nolint:gosec // SSRF protection is handled by the SSRF-safe client
if err != nil {
return err
}