inclusive-dates icon indicating copy to clipboard operation
inclusive-dates copied to clipboard

[BUG] High Code Scanning vulnerability

Open pau919 opened this issue 11 months ago • 0 comments

Describe the bug In the inclusive-dates_3.entry.js, it has this code's part: exports.extractTerms = extractTerms; function matchAnyPattern(dictionary) { const joinedTerms = extractTerms(dictionary) .sort((a, b) => b.length - a.length) .join("|") .replace(/./g, "\."); The code scanning said "This does not escape backslash characters in the input." codeql1 codeql2

pau919 avatar Mar 06 '24 10:03 pau919