PM attachments yield index.php, workaround: rename

Started by Simon, December 20, 2020, 09:07:03 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Simon

Bug in the forum since the move 1-2 months ago.

When you download an attachment from a private message, you get the correct file, but it's named index.php instead of the real name that the attachment has in the PM. The file should ideally have the right name when you download it.

Workaround: Download the attachment, then rename from index.php to what it really is.

Windows users might have to enable show-file-extensions. (Insert Simon rant that this is not default.)

I'll look at this tomorrow, but I have no clue how to fix yet.

-- Simon

namida

At a guess, I'd suspect the SMF 2.0.17 upgrade is the culprit, not the server move.
My projects
2D Lemmings: NeoLemmix (engine) | Lemmings Plus Series (level packs) | Doomsday Lemmings (level pack)
3D Lemmings: Loap (engine) | L3DEdit (level / graphics editor) | L3DUtils (replay / etc utility) | Lemmings Plus 3D (level pack)
Non-Lemmings: Commander Keen: Galaxy Reimagined (a Commander Keen fangame)

namida

This should now be fixed. Please reopen or PM me if it resurfaces + let me know which browser it is occuring on.
My projects
2D Lemmings: NeoLemmix (engine) | Lemmings Plus Series (level packs) | Doomsday Lemmings (level pack)
3D Lemmings: Loap (engine) | L3DEdit (level / graphics editor) | L3DUtils (replay / etc utility) | Lemmings Plus 3D (level pack)
Non-Lemmings: Commander Keen: Galaxy Reimagined (a Commander Keen fangame)

Simon