Skip to content

Commit 574e029

Browse files
committed
fix: Add G704 to gosec excludes for endpoint URL handling
1 parent 9268835 commit 574e029

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.golangci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ linters:
7878
- G117 # Secret field names are legitimate for HMAC signing secrets.
7979
- G304
8080
- G402
81+
- G704 # Endpoint URLs are stored config, not user-tainted input.
8182

8283
errcheck:
8384
check-type-assertions: true

0 commit comments

Comments
 (0)