Commit 07531d6
committed
ascanrules: Tiddy up ExternalRedirectScanRule
- CHANGELOG > Add re-ordering note.
- ExternalRedirectScanRule > Use an enum for payloads & types. Move some
logic to be within the payloads enum for simplicity. Move alert
reference logic within the types enum. Move payload counts
per Strength logic to init method and use a simplified case structure.
Remove unnecessary comments.
- ExternalRedirectScanRuleUnitTest > Remove unnecessary assignments. Use
isEmpty vs length greater than zero.
Signed-off-by: kingthorin <[email protected]>1 parent ce3c805 commit 07531d6
File tree
3 files changed
+176
-228
lines changed- addOns/ascanrules
- src
- main/java/org/zaproxy/zap/extension/ascanrules
- test/java/org/zaproxy/zap/extension/ascanrules
3 files changed
+176
-228
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | | - | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
0 commit comments