owasp-modsecurity / owasp-modsecurity/ModSecurity
@eq operator should produce a warning if used with non-numeric value
Open
@martinhsv is already working on this.
Since Mar 11, 2020.
3.x
enhancement
- Dominant language
- C++
- Stars
- 9.8k
- Forks
- 1.8k
- Avg merge
- 2h 46m
- Merged PRs (30d)
- 1
Description
The @eq operator is currently intended to be used with numeric values. But, with a name like 'eq' a rule writer may inadvertently compose a rule with something like "@eq foo" ... which is unlikely to be what the rule writer intends.
It might be helpful if use of @eq with a non-numeric value produced at least a warning message at rule-load time.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.