javascript - Can new line be added to http header in node js -


can add "\n" in example in line 5? in case can, hahaha appear in http response body?

var http = require('http'); http.createserver(function (req, res) {   res.writehead(200, {   'content-length': body.length,   'location' : 'http://www.aaa.com\nhahaha',   'content-type': 'text/plain' });   res.end('hello world\n'); }).listen(1337, "127.0.0.1"); 

thanks help

node filter \n

so, result there no injection using code ..


Comments

Popular posts from this blog

PHPMotion implementation - URL based videos (Hosted on separate location) -

javascript - Using Windows Media Player as video fallback for video tag -

c# - Unity IoC Lifetime per HttpRequest for UserStore -