Download filename bad. Period replaced with %2E in IE6 only

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Our website allows users to download files. The site uses ASP to create send
the download using

Response.ContentType = "application/x-msdownload"
Response.AddHeader "Content-Disposition", "inline;filename=xxx.pdf"
response.AddHeader "Content-Length", ba.Length

The problem is that the filename, when prompted displays in IE6 as xxx%2Epdf
Users could just go in and replace the %2E with a "." but most users won't
know to do that.

Why does it replace the "." with "%2E"?

Is there any way to fix it?
 
Does the URL not work, or is your problem just the way it appears? %2E is
the standard encoding for a period used when there might be a problem
distinguishing part of a URL from what might otherwise be interpreted as a
delimiter. The URL should work either way. Click on the follwoing and
you should get the Yahoo home page. If not, something on your system is
broken or misconfigured.

http://www.yahoo.com/



Shawn Ramirez said:
Our website allows users to download files. The site uses ASP to create send
the download using
Response.ContentType = "application/x-msdownload"
Response.AddHeader "Content-Disposition", "inline;filename=xxx.pdf"
response.AddHeader "Content-Length", ba.Length
The problem is that the filename, when prompted displays in IE6 as xxx%2Epdf
Users could just go in and replace the %2E with a "." but most users won't
know to do that.
 
Back
Top