forked from extern/django-helpdesk
Merge pull request #984 from noobpk/noobpk-patch-validators
Add `att.full_clean()` before saving to address file validators not working on email attachments
This commit is contained in:
commit
b78f89c3ef
@ -145,6 +145,7 @@ def process_attachments(followup, attached_files):
|
||||
'application/octet-stream',
|
||||
size=attached.size,
|
||||
)
|
||||
att.full_clean()
|
||||
att.save()
|
||||
|
||||
if attached.size < max_email_attachment_size:
|
||||
|
Loading…
Reference in New Issue
Block a user