title: "%" character causing issues in IIS URL rewrite regex
body: <p>I'm replatforming an online shop, and part of that process is writing 301 redirects for old links customers may have bookmarked to hit their new addresses. All of them work apart from the ones in which the old address contains the <code>%</code> character. It seems to somehow be interfering with the regex. The rule is:</p>
  
  <pre><code>&lt;rule name="Custom 41 redirect" stopProcessing="true"&gt;
    &lt;match url="^c80/How-to-%20Use-Shop-Name\.aspx" ignoreCase="true" /&gt;
    &lt;action type="Redirect" url="/how-to-use-shop-name" redirectType="Permanent" /&gt;
  &lt;/rule&gt;
  </code></pre>
  
  <p>Testing using the built in regex tester in IIS tells me that hitting</p>
  
  <p>/c80/How-to-%20Use-Shop-Name.aspx</p>
  
  <p>Matches the pattern, yet the rule fails to redirect me when I hit that address.</p>
  
  <p>I should also stress that there are about 400 rewrites in my web.config, but only the 3 which contain the <code>%</code> character break.</p>