Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Optimize the regex parser for InvalidResponse
Rather than using a backtracking pattern which could have performance impact, switch to using explict character ranges which work for json path seperated with periods. Mitigates sonar lint rule java:S5852 [1] - [1] https://rules.sonarsource.com/java/RSPEC-5852/?search=Using%20slow%20regular%20expressions%20is%20security-sensitive Signed-off-by: Peter Nied <[email protected]>
- Loading branch information