Log in

View Full Version : A question concerning attachments


dcpaq2xx
04-06-2007, 05:21 AM
Group,

I had a member ask about an issue he was having when trying to view attachments on my site, below is what he had to say...

I've noticed that opening any media file causes the file to open in a helper application. Normally I don't mind this, but it even happens with JPEG files, which the browser should be able to handle without problems. This happens in Firefox on both Windows and Mac. I've also noticed that on the Mac, all media files download as "download.php", causing me to rename each one individually. I haven't gotten the PC to do this, so it may be a problem only on the Mac side.


Another member comes along and replys with the following...


JPEG files are normally served with content-disposition:inline in the HTTP headers, but this board is serving them up with content-disposition:attachment. This is the board software's authors erring on the side of caution, probably because they are not doing anything else to validate JPEG uploads to be sure they really are JPEGs (and not harmful script files with .jpg extension). Ditto for the other media types.


I really havent a clue as to what the second member said means, but does this second member know what the heck he is talking about or is he just trying to "put in his 2 cents" and talking jiberish?

Thanks

Doug

Lynne
04-06-2007, 02:02 PM
When I download a file, a little box pops up and asks me what to do with the file. If you select an application (like some jpeg viewer) and tell it to remember, then everytime you try to download a jpeg, it will automatically open the file with the jpeg viewer. This sounds to me like the user needs to tell the application to Always Ask when clicking on a jpeg instead of having the browser automatically open it in an application.

I'm not sure about the media file part since we don't have people upload that type of file on our site. (But, it sounds like the same thing.)

jahshaka
04-10-2007, 08:19 PM
hey i am having the same problem with my board since i upgraded to 3.6 - we use a lot of quicktimes and they used to play in the webpage when you clicked on them but now they always launch a helper application.... is there a fix for this?