Skip to content

Conversation

@iLLiCiTiT
Copy link
Member

Changelog Description

Mime type calculation does not care about extension, only about file content.

Additional review information

This avoids issues related to using wrong, or missing extension in filename for thumbnail.

Testing notes:

  1. Rename png file to jpeg.
  2. Upload it to server as thumbnail.
  3. It should not cause any issues.

Resolves #203

@iLLiCiTiT iLLiCiTiT self-assigned this Nov 14, 2024
@iLLiCiTiT iLLiCiTiT added the type: bug Something isn't working label Nov 14, 2024
@iLLiCiTiT iLLiCiTiT merged commit 5d07f97 into develop Nov 22, 2024
2 checks passed
@iLLiCiTiT iLLiCiTiT deleted the bugfix/203-thumbnail-mime-type-calculation branch November 22, 2024 13:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Thumbnail mime type calculation

2 participants