Is it bad to upload a file with an extension like .sh.jpg in FastAPI?
Let’s say I have a file named foo.sh.jpg or foo.exe.jpg. FastAPI automatically assigns a content-type: image/jpeg in both cases so if you check the MIME type you technically have an image. I wanted to know if by also having a .sh extension… Continue reading Is it bad to upload a file with an extension like .sh.jpg in FastAPI?