Notification email is messed up when a frontend form has a file field and an image is uploaded
Reproduced locally and on Healthone, both running 2.2RC1.
After creating a form with a file field and adding it to a page in frontend, upload an image (JPG or PNG) and then submit the form on frontend. The image info on the notification email looks like as if the image was opened on a text editor (a lot of hexadecimal and special characters and weird encoding). For some images, it displays EXIF data.
I have copies of the emails sent by our code, in case you want to check them out. LEt me know if you need to reproduce this.
email is fine... nothing abmormal there.. did find a bug on the required field validation however... reported here: https://github.com/dotCMS/dotCMS/issues/1548
Created another issue: https://github.com/dotCMS/dotCMS/issues/2122