I feel kinda goofy having to ask this...
I have a forum that allows attachments and downloading. I use 
URLEncodedFormat() for the file name, but when a file contains an 
ampersand, the user just gets a 404 error when trying to dl the file.

URLEncodedFormat() escapes the ampersand to %26 so the URL would be 
"test1%261%2Edoc".
I've googled around and the consensus is that %26 should work, but it 
doesn't. Am I just going crazy or is this an IIS problem or should I just 
bite the bullet and not allow use of the ampersand character in uploaded 
file names?

T

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:242974
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to