Reclassify malformed header log
All checks were successful
Build and Publish / release (push) Successful in 3m7s
All checks were successful
Build and Publish / release (push) Successful in 3m7s
This commit is contained in:
parent
ae53a1d5fd
commit
ea93beb6b2
@ -51,7 +51,7 @@ func (l *LFStrippingListener) WrapConn(conn net.Conn) net.Conn {
|
||||
if !badReqURI.Match(line) {
|
||||
newData = append(newData, '\n')
|
||||
} else {
|
||||
zerolog.Ctx(l.ctx).Trace().Bytes("line", line).
|
||||
zerolog.Ctx(l.ctx).Warn().Bytes("line", line).
|
||||
Msg("malformed request found, stripped 0x0a")
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user