forked from zaproxy/zaproxy
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use all form submit fields when spidering
Change class SpiderHtmlFormParser to use all submit fields when spidering, using each submit field in turn with remaining form fields. Add some tests to assert the expected behaviour of SpiderHtmlFormParser. Other minor changes were done to "normalise" the behaviour/expectations of class SpiderHtmlFormParser: - Throw an exception when creating an instance with null SpiderParam, it's required to check if HTML POST forms should be parsed; - Change the instance variable "param" to private and final. - Expect always a message when parsing (letting a NullPointerException be thrown if not). Fix zaproxy#2748 - ZAP Spidering HTML Forms with multiple submit buttons
- Loading branch information
Showing
21 changed files
with
1,080 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.