Closed MarcWort closed 5 months ago
Thanks for the report, this was introduced in https://github.com/corazawaf/coraza/pull/1039/files#diff-397d8f5c981e6e197286890a559690b982dd806cd5873b8c8b9223cbe439717cR88-R97 I think.
We need to cut a path release fixing this and probably attempt to run tests in parallel cc @M4tteoP
Description
The Go Race Detector pointed out a data race on the new RuleMetadata.StrID() introduced in https://github.com/corazawaf/coraza/pull/1039
Steps to reproduce
Running tests which contain
t.Parallel()
to simulate multiple requests with the race detection enabled:go test -race