Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Mark Drake 134 posts 458 karma points c-trib
    Jul 09, 2021 @ 15:57
    Mark Drake
    0

    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?

  • Neil Chapman 42 posts 170 karma points
    Dec 08, 2022 @ 09:47
    Neil Chapman
    0

    I have just replicated the same issue in Umbraco 8.16.0.

  • Neil Chapman 42 posts 170 karma points
    Dec 08, 2022 @ 09:53
    Neil Chapman
    100

    This has been resolved for 8.17.0 - https://github.com/umbraco/Umbraco-CMS/pull/10987.

Please Sign in or register to post replies

Write your reply to:

Draft