Regex for amount validation is not working properly - Correctness Break
Issue
Wrong format of amount doesn't raise error. Should exit with 255. Samples 10.00.00, 12.00.00, 1.20.00
Input
{"input":["-p", "%PORT%", "-i", "%IP%", "-a", "ted", "-n", "10.00.00"],"base64":false}
Target Breaks
- 272_test26
- 273_test27
- 274_test28
- 293_test75
- 969_break36
Hint
Class ArgsValidator -> function validate_amount