Per commit notes: Added collapse white space functionality and made it the default behavior. This functionality will collapse white space in non-regex rules and data for non-regex matching. This should allow us to avoid potential poisoning from someone padding white space into certain commands to avoid rule detection.
Regex (and data matching against it) is exempt from the above due to the complexity of regex to begin with.
Behavior may be disabled by setting NoCollapseWS on the Config struct to true.
Per commit notes: Added collapse white space functionality and made it the default behavior. This functionality will collapse white space in non-regex rules and data for non-regex matching. This should allow us to avoid potential poisoning from someone padding white space into certain commands to avoid rule detection.
Regex (and data matching against it) is exempt from the above due to the complexity of regex to begin with.
Behavior may be disabled by setting NoCollapseWS on the Config struct to true.