I have created a web form that requires login to the form and there is a field for attachments to accept the attachment but when I tried to attach attachments it is throwing following error.
I have tried all this in both v15 and 14 and enable allow gest to upload file still facing the issue. But if i give desk access to that particular role then there is no problem. But i dont wanna give desk access
I checked that âallowed file extensionsâ might be used in different cases, not have much idea, but the same validation is in v15. It works properly if you upload pdf, jpeg and png file.
if i add other file extension in allowed _mimetype it works but this is core function and now to want this allowed_mimetypes to override from custom so that in future if core is updated my customization remains intact. I couldnât find any hooks to override core function. Do you have any idea regarding this?
Same issue I am facing ?
is anyone knows how to fix it using customization.
if we added âtext/csvâ, in ALLOWED_MIMETYPES = () , with in handler.py file then its accepting .csv file, but I dont want to change in the core code of frappe.