title: Express.js request body __proto__
body: <p>I have a little problem with request.body generated by express.urlencoded() middleware. In some cases it adds <code>__proto__</code> at the end of request.body object and than it can't be used directly to initiate moongose model like so <code>var user = new User(req.body)</code></p>
  
  <p>As an example I'll use <a href="https://github.com/madhums/node-express-mongoose-demo" rel="nofollow">node-express-mongoose-demo</a> repository. All forms works just fine but <code>app.post('/users', users.create)</code> recieves req.body "polluted" with <code>__proto__</code> </p>
  
  <p>Thanks in advance for any help</p>