mirror of
https://github.com/github/codeql.git
synced 2026-04-25 16:55:19 +02:00
JS: Test with file more extensions
This commit is contained in:
@@ -68,7 +68,14 @@ app.get('/angularjs', (req, res) => {
|
||||
});
|
||||
|
||||
app.get('/dotjs', (req, res) => {
|
||||
// Currently we don't auto-insert the full .html.dot extension. Test all variations.
|
||||
res.render('dot_sinks.html.dot', {
|
||||
tainted: req.query.foo,
|
||||
});
|
||||
res.render('dot_sinks.html', {
|
||||
tainted: req.query.foo,
|
||||
});
|
||||
res.render('dot_sinks', {
|
||||
tainted: req.query.foo,
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user