dsv-su / play

Dev repository for Play
0 stars 1 forks source link

Upload: file format should be checked before the actual uploading #109

Closed pavelsokolov closed 2 years ago

pavelsokolov commented 2 years ago

Now one needs to wait until the file upload is done, before the error is thrown. This needs to be changed to the filetype is checked before uploading.

orkit commented 2 years ago

And this is happening right now. Before the files are sent to the play-store, the mime type is validated. If you have discovered something wrong, it would be good if you could explain a little more what the problem is.

pavelsokolov commented 2 years ago

I tend to consider this as done, since we have now restricted the upload input field to only video-extensions, and introducing some more advanced mimetype checks is giving more problems that it solves. So i think it's alright if a user gets an error upon uploading some spoofed video file.