title: How to escape special characters while using request.query in express 4.0
body: <p>My API server running in express 4 uses <strong>request.query</strong> to read all parameters.</p>
  
  <pre><code>app.get('/api', function(req, res) {
      console.log(req.query.search);
  });
  </code></pre>
  
  <p>And the request is as follows</p>
  
  <pre><code>http://localhost:8080/api?id=123&amp;search=node js&amp;lang=en
  </code></pre>
  
  <p>The value of <strong>request.query.search</strong> is <strong>"node js"</strong> i.e with space. Is request.query escaping special characters like space to %20 ? or am I missing something ?</p>