MIME type check does not work

Created on 26 July 2023, about 2 years ago

Problem/Motivation

For example, when replacing a jpg file, if you upload a svg or other file with a forced jpg extension, no error will occur.

Steps to reproduce

1. Register a.jpg.
2. prepare b.svg.
3. Rename b.svg to b.jpg.
4. Upload with replace form.

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇯🇵Japan ulmeyda

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @ulmeyda
  • Status changed to Closed: won't fix 3 months ago
  • 🇯🇵Japan ulmeyda

    I've understood that validation can be handled by another module or other means, so I'm closing this.

Production build 0.71.5 2024