title: Login ReturnUrl in ASP.NET WebForms causing JavaScript critical error when using IE11
body: <p>I am developing ASP.NET Web Forms application using Visual Studio 2012, which utilizes bundling and SignalR.</p>
  
  <p>I put this in my web.config:</p>
  
  <pre><code>&lt;authentication mode="Forms"&gt;
    &lt;forms loginUrl="~/Account/Login" defaultUrl="~/Views/Portfolio" timeout="2880" /&gt;
  &lt;/authentication&gt;
  &lt;authorization&gt;
    &lt;deny users ="?" /&gt;
    &lt;allow users = "*" /&gt;
  &lt;/authorization&gt;
  </code></pre>
  
  <p>When I hit F5 I get this kind of error:</p>
  
  <pre><code>JavaScript critical error at line 3, column 1 in http://localhost:6169/Account/Login?ReturnUrl=/bundles/WebFormsJs?v=AAyiAYwMfvmwjNSBfIMrBAqfU5exDukMVhrRuZ-PDU01&amp;v=AAyiAYwMfvmwjNSBfIMrBAqfU5exDukMVhrRuZ-PDU01
  
  SCRIPT1002: Syntax error
  </code></pre>
  
  <p>then followed by this:</p>
  
  <pre><code>JavaScript critical error at line 3, column 1 in http://localhost:6169/Account/Login?ReturnUrl=/signalr/hubs
  
  SCRIPT1002: Syntax error
  </code></pre>
  
  <p>I am using IE11 and these kind of errors didn't happen when using Firefox or Chrome. Please help? Thanks</p>