Closed char0n closed 4 months ago
Fully safe regexp: /\{([^{}]+)}|([^{}]+)/g
while ((text = re.exec(str))) {
if (text[1]) results.push(text[1]);
}
return results;
The issue was mitigated in https://github.com/swagger-api/swagger-js/pull/3502
The issue was fully remediated in https://github.com/swagger-api/swagger-js/pull/3507
Tracking issue for: