mirror of
https://github.com/github/codeql.git
synced 2026-05-02 20:25:13 +02:00
JS: Fix FP from char class
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
const express = require('express');
|
||||
const app = express();
|
||||
|
||||
app.get(/\/[a-zA-Z]+/, (req, res, next) => { // OK - regexp term is case insensitive
|
||||
next();
|
||||
});
|
||||
|
||||
app.get('/foo', (req, res) => {
|
||||
});
|
||||
Reference in New Issue
Block a user