Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-19138

Image filename with exclamation mark is causing file not found error

      Steps to reproduce
      1. First, attach an image with an exclamation mark to Confluence page. For example: Donald!.gif
      2. Next, use the Rich Text Editor to insert the image. You can use either the new keyboard shortcut ( ! ) or the icon to insert image
      3. Save the page
      4. The image won't be rendered and you will get the following error:

        Unable to render embedded object: File (Donald) not found..gif|border=1!

      5. When you edit the page, you get the following in Wiki Markup mode:
        !Donald!.gif\|border=1\!
        
      6. Here are some screenshots to depict the bug:

        1. Step1_AddImage.png
          Step1_AddImage.png
          98 kB
        2. Step2_ImageInserted.png
          Step2_ImageInserted.png
          127 kB
        3. Step3_AfterSaving.png
          Step3_AfterSaving.png
          75 kB
        4. Step4_PageEditedRichText.png
          Step4_PageEditedRichText.png
          82 kB
        5. Step5_PageEditedWikiMarkup.png
          Step5_PageEditedWikiMarkup.png
          101 kB

              Unassigned Unassigned
              sjayaraman Sashidaran Jayaraman [Atlassian]
              Affected customers:
              1 This affects my team
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: