Image filename with exclamation mark is causing file not found error

XMLWordPrintable

      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
          98 kB
          Sashidaran Jayaraman [Atlassian]
        2. Step2_ImageInserted.png
          127 kB
          Sashidaran Jayaraman [Atlassian]
        3. Step3_AfterSaving.png
          75 kB
          Sashidaran Jayaraman [Atlassian]
        4. Step4_PageEditedRichText.png
          82 kB
          Sashidaran Jayaraman [Atlassian]
        5. Step5_PageEditedWikiMarkup.png
          101 kB
          Sashidaran Jayaraman [Atlassian]

            Assignee:
            Unassigned
            Reporter:
            Sashidaran Jayaraman [Atlassian]
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: