'AEM Form - Where could I configure the types of attachment field?

I have an issue when I created an AEM form in 6.5 version. And it returned this "The attached file(s) types p66.jpg are not supported. Check these file(s) and resubmit the form" when I submitted form with an attached file.

Could anyone help me this one? Just want to know where I can configure the types for this field.

Thanks,

enter image description here



Solution 1:[1]

We figured out that, 6.5 works with image/jpg, image/jpeg, image/png instead of .jpg,.jpeg,.png

It fixed my issue.

Thanks,

enter image description here

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Duc Huynh