Skip to content

Commit

Permalink
Update SECURITY.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mde committed Mar 27, 2023
1 parent 828cea1 commit f47d7ae
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -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}`);
});
```

0 comments on commit f47d7ae

Please sign in to comment.