mirror of
https://github.com/github/codeql.git
synced 2026-04-26 17:25:19 +02:00
JS: Accept an alert
This commit is contained in:
@@ -4,7 +4,7 @@ var url = require('url');
|
||||
var server = https.createServer(function(req, res) {
|
||||
let pw = url.parse(req.url, true).query.current_password;
|
||||
res.writeHead(200, {
|
||||
'Set-Cookie': 'password=' + pw,
|
||||
'Set-Cookie': 'password=' + pw, // $ Alert[js/clear-text-storage-of-sensitive-data]
|
||||
'Content-Type': 'text/plain'
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user