Uploaded image for project: 'Confluence Server'
  1. Confluence Server
  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

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              softwarmaverick1275008803 Andrew Clark
              Participants:
              Last Touched By:
              Katherine Yabut
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Last commented:
                2 years, 41 weeks, 1 day ago