Commit d9e6907
committed
ascanrules: Tiddy up ExternalRedirectScanRule
- CHANGELOG > Add maintenance note.
- ExternalRedirectScanRule > Use an enum for payloads & types. Extract a
method for payload counts per Stength. Remove unnecessary comments.
- ExternalRedirectScanRuleUnitTest > Remove unnecessary assignments. Use
isEmpty vs length greater than zero.
Signed-off-by: kingthorin <[email protected]>1 parent ce3c805 commit d9e6907
File tree
3 files changed
+186
-228
lines changed- addOns/ascanrules
- src
- main/java/org/zaproxy/zap/extension/ascanrules
- test/java/org/zaproxy/zap/extension/ascanrules
3 files changed
+186
-228
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | 8 | | |
10 | 9 | | |
11 | 10 | | |
| |||
17 | 16 | | |
18 | 17 | | |
19 | 18 | | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
0 commit comments