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

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?
 
G

Gary Smith

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top