Skip to content

Commit

Permalink
fix(security): fix polynomial regular expression (#3502)
Browse files Browse the repository at this point in the history
Refs #3501

---------

Co-authored-by: Vladimír Gorej <[email protected]>
  • Loading branch information
glowcloud and char0n authored May 8, 2024
1 parent fc997c1 commit 904ac5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/execute/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ function buildOas3UrlWithContext(ourUrl = '', contextUrl = '') {

function getVariableTemplateNames(str) {
const results = [];
const re = /{([^}]+)}/g;
const re = /{([^}]{1,29})}/g;
let text;

// eslint-disable-next-line no-cond-assign
Expand Down

0 comments on commit 904ac5c

Please sign in to comment.