Closed gnojus closed 1 year ago
LGTM
I see it broke the lint as strings.Cut is new to go 1.18. I don't see go version in action files, is it just the default one provided by github images? Note that goftm does not pass with go 1.19, probably due to enhanced doc string handling.
This fixes a bug where some requests would not be accepted if req.RemoteAddr is something like
[fe80::0:8080%eth0]
. This PR removes the%eth0
part in SourceIP middleware.