How to use parameters containing a slash character?
<p>My MongoDB keys in <code>person</code> collection are like this:</p>

<pre><code>TWITTER/12345678
GOOGLE/34567890
TWITTER/45678901
...
</code></pre>

<p>I define <code>getPersonByKey</code> route this way:</p>

<pre><code>router.route('/getPersonByKey/:providerKey/:personKey').
  get(function(req, res) { // get person by key
    var key = req.params.providerKey + '/' + req.params.personKey;
    // ...
  }
);
</code></pre>

<p>Of course I'd prefer to be able to write something like this:</p>

<pre><code>router.route('/getPersonByKey/:key').
  get(function(req, res) { // get person by key
    var key = req.params.key;
    // ...
  }
);
</code></pre>

<p>But this doesn't work, since <code>GET http://localhost/getPersonByKey/TWITTER/12345678</code> of course results in a 404, since the parameter with the slash is interpreted as two distinct parameters...
Any idea?</p>