File Upload Types Are Not Validated on Save (Umbraco v9)
Just wanted to check with others using Umbraco v9.
I created a File Upload property on a doc type and configured it to only allow *.PDF extensions.
I then used the file explorer to choose another file type, like a *.JPG and to my surprise, the file upload rendered the image. I then saved and published my content and again, to my surprise, no errors.
There should be a minimal effort in the backend to verify the file extension of the upload shouldn't there?
File Upload Types Are Not Validated on Save (Umbraco v9)
Just wanted to check with others using Umbraco v9.
I created a File Upload property on a doc type and configured it to only allow *.PDF extensions.
I then used the file explorer to choose another file type, like a *.JPG and to my surprise, the file upload rendered the image. I then saved and published my content and again, to my surprise, no errors.
There should be a minimal effort in the backend to verify the file extension of the upload shouldn't there?
Anyone else able to replicate?
I have just replicated the same issue in Umbraco 8.16.0.
This has been resolved for 8.17.0 - https://github.com/umbraco/Umbraco-CMS/pull/10987.
is working on a reply...