title: '&' symbol got escaped in the url when used with 'window.location'
body: <p>In my view page inside my mvc application, I have something like this</p>
  
  <pre><code>@{ 
      var controllerUrl = Url.Content("~/" + ViewBag.NextLink);
      var fullPath = controllerUrl + "?stdId=4044&amp;stdPtId=3052&amp;=5366";
  }
  
  &lt;script type="text/javascript"&gt;
      var fullPath =  '@fullPath';
  &lt;/script&gt;
  
  &lt;div class="marginspace"&gt;
          &lt;input type="submit" class="btn btn-primary pull-right" value="Next" onclick="window.location=fullPath;" /&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>The problem is the when I clicked on the 'Next' button, the url shows </p>
  
  <pre><code>http://something?stdId=4044&amp;amp;stdPtId=3052&amp;amp;fid=5366
  </code></pre>
  
  <p>See how the '&amp;' symbol got escaped in the url</p>
  
  <p>My expected url should be</p>
  
  <pre><code>http://something?stdId=4044&amp;stdPtId=3052&amp;fid=5366
  </code></pre>
  
  <p>So how can I make sure the url will be properly built without escaping the '&amp;' symbol?</p>
  
  <p>By the way, I have tried with this</p>
  
  <pre><code>onclick="window.location=decodeURI(fullPath);"
  </code></pre>
  
  <p>and this</p>
  
  <pre><code>onclick="window.location=unescape(fullPath);"
  </code></pre>
  
  <p>and still nothing change.</p>