Tiny Core Linux
General TC => General TC Talk => Topic started by: tinypoodle on November 10, 2013, 08:24:48 PM
-
When clicking on an attachment with a .png or .jpg extension, type appears wrongly as application/octetstream, while name appears as index.php
(http://upurs.us/thumb/53306.jpeg) (http://upurs.us/image/53306.png)
-
Exactly the same result with text file attachments (incl. scripts).
A requirement of explicitly having to download attachments, renaming their default filename and then opening them in an application is rather inconvenient.
-
This may be SMF's only behavior. Can you see what happens in other SMF forums?
-
I'm afraid I couldn't, as I don't happen to be subscribed to any other SMF and assuming that accessing attachments would require subscription (as it does here).
:(
-
If you have a few hours free, you can always set up a localhost PHP/mariadb server ;)
-
Haha, and besides from free human resources also the technical resources for such...
:P
-
Doing some research about SMF bugs, I found quite a lot where firefox would be blamed...
Changing UA in opera 12.16 from "Identify as Firefox" to "Identify as Opera" results in correct default filename and ability to open .png directly in browser, however text files still appear wrongly as application/octetstream and can not be directly displayed in browser.
With elinks 0.11.7 I could display text files, but when trying to pass a .png image to an image viewer, a temporary file with a .php extension is created in /tmp, which can not be used by image viewers relying on filename extensions...