title: The ';' character, hexadecimal value 0x3B, cannot be included in a name
body: <p>I have seen the error "The ';' character, hexadecimal value 0x3B, cannot be included in a name." in my log files for an ASP.NET Web App. The url that's logged looks something like this:</p>
  
  <pre><code>mypage.aspx?paramone=one+two&amp;amp;paramtwo=zero+1
  </code></pre>
  
  <p>So my first question is what type of system/browser is encoding the original query string? (This happens rarely)</p>
  
  <p>I've tried to address this problem with the following snippet of code in the Page_Load() event:</p>
  
  <pre><code>string rawUrl = Request.RawUrl;
  if (rawUrl.Contains(amp))
  {
      rawUrl = rawUrl.Replace("&amp;amp;", "&amp;");
      Server.Transfer(rawUrl, false);
      return;
  }
  </code></pre>
  
  <p>However when it transfers back to this page the <code>&amp;amp;</code> is back in the query string. So I'm guessing that the .Transfer() function encodes the first param.</p>
  
  <p>Suggestions about solving this problem?</p>