Quentin Zervaas wrote:
When downloading dmFiles, if the filename contains a period (.) in the name
(additional to the one denoting the file extension), the file might not be
displayed correctly by the web browser.

The simplest fix for me obviously is to rename the pdf, but here are a
couple of other suggestions:

1. Don't send the content-type header if the file extension isn't know
(instead of sending application/unknown). Let the browser figure it out for
itself

2. Change the code to determine the file suffix. Currently looks like:


2nd one sounds better to me. Can you send me through the modified file?

-Brendan
http://farcry.daemon.com.au


--- You are currently subscribed to farcry-dev as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED]

MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004

Reply via email to