title: Express.js, I get colon in front of the value if my parameter value contains colon somewhere in a value
body: <p>This is my simple express.js code, and GET routing:</p>
  <pre><code>app.get(path + hashKeyPath, function (req, res) {
    res.json({
      data: JSON.stringify(req.params.CognitoIdentity),
      dekor: JSON.stringify(
        req.apiGateway.event.requestContext.identity.cognitoIdentityId
      ),
    });
  </code></pre>
  <pre><code>const path = '/address';
  const partitionKeyName = 'CognitoIdentity';
  const hashKeyPath = '/:' + partitionKeyName;
  </code></pre>
  <p>now when I send a request, my parameter can contain colon inside of the string (aws cognito identity is built like that not sure why would they put colon inside instead of dash but ok):
  <code>eu-west-1:ea6b2959-8718-42b9-b8b8-ce82e9d9e7a0</code> which returns only colon back in response.</p>
  <pre><code>config: {url: 'https://xxx.execute-api.eu-west-1.amazonaws…s/:eu-west-1:ea6b2959-8718-42b9-b8b8-ce82e9d9e7a0', method: 'get', data: null, headers: {…}, transformRequest: Array(1), …}     
  </code></pre>
  <p>data: {data: ':eu-west-1:ea6b2959-8718-42b9-b8b8-ce82e9d9e7a0', dekor: 'null'}</p>
  <p>how can I get real value which would be <code>eu-west-1:ea6b2959-8718-42b9-b8b8-ce82e9d9e7a0</code> and not colon as first char <code>eu-west-1:ea6b2959-8718-42b9-b8b8-ce82e9d9e7a0</code> when I have coon inside of parameter value? well I assume it is doing it because of colon after <code>eu-west-1</code>...</p>
  <p>Edit:
  So it seems like no matter what you pass it gets <code>:</code> in front lol, what??</p>
  <pre><code>config: {url: 'https://xxx.execute-api.eu-west-1.amazonaws.com/dev/address/:kontono-test', method: 'get', data: null, headers: {…}, transformRequest: Array(1), …}
  data: {data: ':kontono-test', dekor: 'null'}
  </code></pre>