Something very strange is happening to me, and I wonder if somebody can help explaining.
In a drupal 4.7 (4.7.3, really, still didnt update it) I needed to attach a .PPS file (PowerPoint slides). I found a different behaviour while attaching the same file from two different computers.
If I attach the file from home - upload on the same server, using WIndows XP and Firefox 1.5.0.9 - the document, in the "files" table of the database , is recorded with a filemime "application/vnd.ms-powerpoint".
If I do the same from office - same file, same server, using Windows XP and Firefox 1.5.0.9 - the document, in the "files" table of the database , is recorded with a filemime "application/octect-stream".
This gives me some (minor) problem with Firefox - while downloading it, and answering "open with powerpoint", the file "octet-stream" is directly opened with powerpoint (xxx.pps --> immediately executed); but the "vns-ms-powerpoint" one is saved with a "xxx.pps.ppt" temporary file name, and then opened as a "normal" ppt (not immediately executed).
OK - this is a minor problem and I can easily live with it, but I really wonder: why the same file is registered with different mimetypes? The Drupal server is the same, home/office Firefox versions also... so why? WHO decide what's the correct mimetype to use while uploading the file? Drupal server? The browser? 8-d