You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While going through all the rules, the variable is reused multiple times for different purposes. It might be better to use separate variables for each purpose and only collect the total intx.anomaly_score at the very end.
The text was updated successfully, but these errors were encountered:
Hi there. We'll certainly welcome a PR to clean up tx.anomaly_score.
As this issue has not been updated in over a year and the next steps are clear I'm going to close it for now.
Issue originally created by user studersi on date 2018-05-07 14:31:56.
Link to original issue: SpiderLabs/owasp-modsecurity-crs#1083.
After discussing PR SpiderLabs/owasp-modsecurity-crs#1076 with dune73, it became clear that
tx.anomaly_score
could use refactoring.While going through all the rules, the variable is reused multiple times for different purposes. It might be better to use separate variables for each purpose and only collect the total in
tx.anomaly_score
at the very end.The text was updated successfully, but these errors were encountered: