Technical debt v3
We should try to release v3 without technical debt.
- [ ] Move most types to the types package and sub-packages
- [ ] Replace hardcoded strings and ints with well-documented constants
- [ ] Custom error types
- [ ] Add detailed documentation for each package
- [ ] Refactor the Rule evaluation algorithm by creating a
ruleEvalstruct - [ ] Reduce code complexity of modsecurity inherited transformations. For example, this is a C port to golang: https://github.com/corazawaf/coraza/blob/v2/master/transformations/url_decode_uni.go
- Move monolitic testdata to consumer package
Reduce code complexity of modsecurity inherited transformations
Would you elaborate a bit more on this?
Reduce code complexity of modsecurity inherited transformations
Would you elaborate a bit more on this?
I have quoted a sample code: https://github.com/corazawaf/coraza/blob/v2/master/transformations/url_decode_uni.go
Basically, there is C code ported to golang. We should make it the golang way
This issue is stale because it has been open for 30 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.