Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-71250

Jira behaviour is inconsistent when the attachment name contains curly brackets

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Low
    • None
    • 8.8.1, 7.13.16
    • Rich Text Editor
    • None

    Description

      Issue Summary

      Jira allows you to upload attachments that contain wiki markup characters such as curly brackets. However, you won't be able to embed these attachments in a comment, rather a broken thumbnail is displayed.

      You can't also embed these attachments without a thumbnail and make them available to download, because this also doesn't work.

      You can't edit comments which contain such formatting because it breaks the editor, for example, with the following wiki markup formatting:

       [^{4CD97661-BC03-4D27-9313-F433D4D88DFF}.jpeg]
      

      Breaks the editor when trying to edit with the following error:

      Steps to Reproduce

      1. Upload an attachment with a name such as {attachment}.jpg
      2. Try embedding that file as an attachment, such as a thumbnail for images or an attachment to be downloaded

      Expected Results

      Jira behaves consistently and properly parses the file's name, escaping any wiki markup characters from it. Or, prevents the upload of those files initially with a warning about the problem.

      Actual Results

      Jira allows you to upload the files but the editor doesn't it, so this causes frustration to the user that initially doesn't understand that the problem is due to the special characters, as there is no clear error message.

      Workaround

      No workaround available, except from not uploading files with these characters to Jira.

      Attachments

        Activity

          People

            Unassigned Unassigned
            rbaldasso Rodrigo Baldasso
            Votes:
            3 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated: