title: Passing more than one parameter to a controller
body: <p>I need to send an id to my MVC controller method, which is sent from a json call. At the end, I need to refresh the screen. This is working fine:</p>
  
  <pre><code>window.location.href = '/Reports/SpendingByCategoryByMonth/' + categoryId;
  </code></pre>
  
  <p>However, I need to send more than one parameter now. So, my controller methods takes two parameters named, and I try call my controller like this:</p>
  
  <pre><code>window.location.href = '/Reports/SpendingByCategoryByMonth/categoryId=' + categoryId + '&amp;subCategoryId=' + subCategoryId;
  </code></pre>
  
  <p>But I get the error:</p>
  
  <blockquote>
    <p>A potentially dangerous Request.Path value was detected from the
    client (&amp;).</p>
  </blockquote>
  
  <p>Is there a better way to do this - or, how do I fix this?</p>