Details
-
Bug
-
Resolution: Fixed
-
Medium
-
3.7.3, 3.8
-
3.07
-
Description
In 3.7.x, if an email is processed which has an attachment, and the attachment's filename contains invalid characters that can't be represented on the JIRA filesystem, then JIRA will renames the file:
The problem here is that neither JIRA nor the user can now infer the type of the file. It could be a PDF, an image.. anything.
Rather than rename the whole file, JIRA should break filenames into name + extension, and sanitize each individually. Typically this will result in the extension being unharmed, yielding filenames like renamedFile~1.pdf.
Attachments
Issue Links
- is caused by
-
JRASERVER-10825 POP/IMAP service: JIRA loses HTML part of some (multipart/related) emails
- Closed
-
JRASERVER-11204 CreateOrCommentHandler: Attachment with invalid filename causes loop
- Closed
- relates to
-
JRASERVER-12525 Emails containing attachments with non-ASCII names lost
- Closed