Commit Graph
6 Commits
Author SHA1 Message Date
Cédric Krier 58b10f68df Sanitize attachment filename for incoming document from email
When creating document incoming from email's attachments, the filename value
must be sanitized as there is no control on the data.

Closes #13801
2025-01-08 17:35:27 +01:00
Udo Spallek 8b252472c4 Replace usage of docstring of Model by __string__ attribute
Closes #8402
2024-11-19 10:09:52 +01:00
Cédric Krier aec4eae3f5 Replace forbidden char of document incoming name by space
When creating document incoming from email, the name value must be sanitized as
there is no control on the data.

Closes #13608
2024-10-19 16:34:36 +02:00
Cédric Krier 48cf2814ea Use "No Subject" fallback when creating document incoming from email with empty subject
Closes #13606
2024-10-19 15:25:33 +02:00
Cédric Krier e59a24de94 Fix test_document_from_inbound_email of document_incoming
Closes #13319
2024-06-09 17:41:59 +02:00
Cédric Krier f7faf6935c Add document_incoming module 2023-09-14 13:10:41 +02:00