-
-
Notifications
You must be signed in to change notification settings - Fork 387
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Allows only one form of rate limiting per request * Added the breakOnMatch option so that the previous commit can either be enabled or disabled for every policy * Added CIDR block capabilities. * Changed the method used to deal with the IP addresses by adding SubnetUtils class. * Fixed minor formatting issues. * Added try catch block so that it won't throw errors when given incorrect input, it will just return false. * Changed try catch block to catch exceptions instead of errors. * Switched from using a class for SubnetUtils to an imported library and made changes to the unit tests. * Fixed test case header assertions.
- Loading branch information
1 parent
e9db1a9
commit 682cfcc
Showing
5 changed files
with
74 additions
and
5 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
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
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
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
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