I've been googling this for days now, found plenty of people with the same problem but no solutions.
I'm working on a redirection file for my site. One of them is for eBay, the file grabs the query string "eUrl" then encodes it, ads it to the end of another part of the new url then redirects. It works awesome except for ampersands which some eBay urls have.
<%
Dim eUrl
eUrl = Server.URLEncode(Request.QueryString("eUrl"))
Response.write (eUrl)
%>
http://www.coincommunity.com/UrlTest.asp?eUrl=http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=330294744298