Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: try to fix CodeQL failure "Polynomial regular expression"
Fix 1: \d\.?\d* can backtrack catastrophically \d(\.\d*)? is safer Fix 2: Useless parenthesis around "enc:" Fix 3: The httpTester regex was misleading. It did not really check for "http". Simplified to show its true meaning. The behaviour should not have changed. Signed-off-by: Martin d'Allens <[email protected]>
- Loading branch information