Implement Blocker to block header patterns #210
Annotations
5 errors and 1 warning
lint and test:
proxymw/blocker_test.go#L61
httpNoBody: http.NoBody should be preferred to the nil request body (gocritic)
|
lint and test:
proxymw/blocker_test.go#L78
httpNoBody: http.NoBody should be preferred to the nil request body (gocritic)
|
lint and test:
proxymw/blocker_test.go#L96
The copy of the 'for' variable "tt" can be deleted (Go 1.22+) (copyloopvar)
|
lint and test:
proxymw/blocker_test.go#L39
fmt.Errorf can be replaced with errors.New (perfsprint)
|
lint and test
issues found
|
lint and test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|