Skip to content

FileUpload "JPG" Allowed file upload type doesnt include JPEG #1383

Open
@TomChancer

Description

@TomChancer

Which Umbraco Forms version are you using? (Please write the exact version, example: 13.4.0)

13.4.1

Which Umbraco version are you using? (Please write the exact version, example: 13.5.2)

13.7.2

Issue summary

Hi!

Recently discovered that when using the "File Upload" field type within Forms and selecting JPG as an accepted file type, the front end will report that JPEG's are not a valid type.

Im assuming its doing a literal match on the file extension, but JPEG's should be considered valid in this scenario.

Image

Image

Specifics

No response

Steps to reproduce

Create a new form and add a file upload question.
Select only JPG's as the allowed file type
Insert the form on a page and upload an image with the ".jpeg" file extension.
Try to submit the form and see the validation fail.

Expected result / actual result

Ideally JPEG's should be considered valid as part of the "JPG" predefined allowed type.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions