AdguardTeam / AdguardTeam/FiltersCompiler
Implement protection against user error during filter generation
- Ngôn ngữ chính
- JavaScript
- Star
- 64
- Fork
- 11
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
### Problem
Currently, the filters compiler allows for accidental and non-obvious mistakes, such as
- deleting a large number of rules (for example, mistakenly taken as incorrect)
- adding rules with incorrect regular expressions (catastrophic backtracking).
### Proposed solution
To prevent such errors, we need a protection mechanism which will warn us if a significant change in volume occurred during filter building. Also, add a function to test the speed of regular expressions used in the rules (unescaped).
Send notification to Slack to filters chat.
Related to `ADG-6782`
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.