title: Url rewrite not working when there are forward slashes inside the query value
body: <p>I have a original URL which looks likes this:</p>
  
  <pre><code>https://example.com/?page=map&amp;path=Video's
  </code></pre>
  
  <p>I created a rule within the IIS manager, which rewrites above to</p>
  
  <pre><code>http://h2609709.stratoserver.net/map/Video's/
  </code></pre>
  
  <p>This works fine.</p>
  
  <hr>
  
  <p><em>However</em>, when the original URL is like this:</p>
  
  <pre><code>https://example.com/?page=map&amp;path=Video's/birthday/2016
  </code></pre>
  
  <p>It gets correctly rewritten to:</p>
  
  <pre><code>https://example.com/map/Video's/birthday/2016/
  </code></pre>
  
  <p>But the page results in a error 404. How can I let the server interpret <code>&amp;path=Video's/birthday/2016</code> as a <em>query</em> value rather than a remote folder path?</p>
  
  <p>The problem is caused by the <code>/</code> character inside the query string.</p>
  
  <p><strong>Web.config</strong></p>
  
  <pre><code>&lt;rule name="RedirectUserFriendlyURL1" stopProcessing="true"&gt;
    &lt;match url="^$" /&gt;
    &lt;conditions&gt;
      &lt;add input="{REQUEST_METHOD}" pattern="^POST$" negate="true" /&gt;
      &lt;add input="{QUERY_STRING}" pattern="^page=([^=&amp;amp;]+)&amp;amp;path=([^=&amp;amp;]+)$" /&gt;
    &lt;/conditions&gt;
    &lt;action type="Redirect" url="{C:1}/{C:2}" appendQueryString="false" /&gt;
  &lt;/rule&gt;
  &lt;rule name="RewriteUserFriendlyURL1" stopProcessing="true"&gt;
    &lt;match url="^([^/]+)/([^/]+)/?$" /&gt;
    &lt;conditions&gt;
      &lt;add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /&gt;
      &lt;add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /&gt;
    &lt;/conditions&gt;
    &lt;action type="Rewrite" url="?page={R:1}&amp;amp;path={R:2}" /&gt;
  &lt;/rule&gt;
  </code></pre>