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

Unable to add content with an img tag with a data url using the REST API

    XMLWordPrintable

Details

    Description

      A simple example is as follows:

      <h1> test </h1>
      <img alt="" height="342" src="data:image/gif;base64,R0lGODlhEAAQAMQAAORHHOVSKudfOulrSOp3WOyDZu6QdvCchPGolfO0o/XBs/fNwfjZ0frl3/zy7////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAkAABAALAAAAAAQABAAAAVVICSOZGlCQAosJ6mu7fiyZeKqNKToQGDsM8hBADgUXoGAiqhSvp5QAnQKGIgUhwFUYLCVDFCrKUE1lBavAViFIDlTImbKC5Gm2hB0SlBCBMQiB0UjIQA7"/>
      

      Posting this content to the create content rest api returns a successful 200 but the content doesn't include the embedded image when viewed.

      This may or may not be related to CONF-33189

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              62a5f0431503 Andrew Clark
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: