Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Regular Expression Denial of Service (ReDoS) #6132

Merged
merged 11 commits into from
Dec 26, 2023
Prev Previous commit
Next Next commit
test: increase ReDoS min execution time
WillianAgostini committed Dec 14, 2023
commit 5c975f400cab37999befe58e7b7940d441698b96
2 changes: 1 addition & 1 deletion test/specs/defaults.spec.js
Original file line number Diff line number Diff line change
@@ -194,7 +194,7 @@ describe('defaults', function () {

getAjaxRequest().then(function (request) {
const elapsedTimeMs = performance.now() - start;
expect(elapsedTimeMs).toBeLessThan(5);
expect(elapsedTimeMs).toBeLessThan(20);
expect(request.url).toBe('bar/foo');
done();
});