mirror of
https://github.com/CryptKeeperZK/ejs.git
synced 2026-01-07 22:53:52 -05:00
Update SECURITY.md
This commit is contained in:
10
SECURITY.md
10
SECURITY.md
@@ -26,7 +26,17 @@ EJS is effectively a JavaScript runtime. Its entire job is to execute JavaScript
|
||||
In short, DO NOT send reports including this snippet of code:
|
||||
|
||||
```javascript
|
||||
const express = require('express');
|
||||
const app = express();
|
||||
const PORT = 3000;
|
||||
app.set('views', __dirname);
|
||||
app.set('view engine', 'ejs');
|
||||
|
||||
app.get('/', (req, res) => {
|
||||
res.render('index', req.query);
|
||||
});
|
||||
|
||||
app.listen(PORT, ()=> {
|
||||
console.log(`Server is running on ${PORT}`);
|
||||
});
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user