title: How can I catch a yii2 encrypted hash url in route
body: <p>I have a encrypted hash for the user reset password link which goes something like this:</p>
  
  <p><a href="http://my.doma.in/reset-password/l0SASiqG7-poflus+S6KHN3WU8QN9lasGr8yka/GMnvSA==133814" rel="nofollow noreferrer">http://my.doma.in/reset-password/l0SASiqG7-poflus+S6KHN3WU8QN9lasGr8yka/GMnvSA==133814</a></p>
  
  <p>I want to catch all the request to the /reset-password and redirect it to /account-reset-password</p>
  
  <p>But what is happening is that Yii2 thinks the / and other special characters as pathnames or variables and throw an error like this:</p>
  
  <blockquote>
    <p>exception 'yii\base\InvalidRouteException' with message 'Unable to
    resolve the request "reset-password/".' in</p>
  </blockquote>
  
  <p>This is the relevant code in the urlmanager section of my config.php</p>
  
  <pre><code>'reset-password/&lt;key&gt;' =&gt; '/site/reset-password',
  </code></pre>
  
  <p>I believe that something needs to got in  or similar to consume everything that comes after reset password. Could someone throw some light on this please?</p>