Response.Redirect Ampersand Encoding
asp.net, html
Solution
Pass the URL exactly as it should appear in the address bar in the web browser. For example, if you're trying to redirect to http://example.com/?foo=bar&baz=quux, then pass that exact string as-is to Response.Redirect.
Problem
Failing to escape an "&" character in HTML markup creates an entity. It is often done inadvertently when linking URLs in a document, and W3C's Markup Validation Service will consider this an error. I'm wondering, does ASP.NET's Response.Redirect method expect ampersands to be escaped in its `url` parameter? From reading its MSDN description, I honestly can't tell.