Renamed email attachments lose extension

XMLWordPrintable

    • 3.07

      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.

            Assignee:
            Sam Chang [Atlassian]
            Reporter:
            Jeff Turner
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: