Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the '10.4: Modify how the system classifies 'safe' files' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.4: Modify how the system classifies 'safe' files
Authored by: iceberg18 on Dec 27, '05 11:28:34AM

OK, but how can I stop Safari from automatically appending ".txt" to files?

Everytime I download firmware, whether for my server, router, etc. it thinks the file should be appended, when I rather it didn't because right now I have to go to the "Get info" window to remove the ".txt" each time.

[ Reply to This | # ]
10.4: Modify how the system classifies 'safe' files
Authored by: vykor on Dec 28, '05 12:54:02AM

The most likely cause - whichever server you're retrieving those files from are serving the files with the wrong mimetype. Safari appends .txt to those files being served with the mimetype for text/html or whichever - because in essence it was told that the file <i>is</i> text.

If you can contact the webserver admins and have the server configuration fixed to serve the proper type, this'll go away. I haven't figured out a way to stop this behavior in Safari yet, but apparently a bug report about this has already been filed on Radar.

[ Reply to This | # ]