Storage to HTML conversion shows missing ARI exception for content prefetch while converting an image with base64 src

XMLWordPrintable

    • Severity 3 - Minor

      Storage to HTML conversion shows missing ARI exception for content prefetch while converting an image with base64 src

      Example storage:

      <ac:image ac:src="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCIgdmlld0JveD0iMCAwIDIwMCAyMDAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgPGNpcmNsZSBjeD0iMTAwIiBjeT0iMTAwIiByPSI1MCIgZmlsbD0iYmx1ZSIgc3Ryb2tlPSJibGFjayIgc3Ryb2tlLXdpZHRoPSIzIi8+Cjwvc3ZnPg=="><ri:url /></ac:image> 

       

      How to reproduce on launcher

      1. Add this function to ~/.zshrc or bash file, replacing some variables here

      function forgestaging() {
        export FORGE_GRAPHQL_GATEWAY=https://api-private.stg.atlassian.com/graphql
        export USER_EMAIL=<youruser>@atlassian.com
        export USER_API_TOKEN=...
        forge login --verbose -u ${USER_EMAIL} -t ${USER_API_TOKEN}
      } 

      a. make sure to source ~/.zshrc the new changes
      2. download the forge zip
      3. cd into forge zip
      4. nvm use 22 && npm install -g @forge/cli@latest
      5. forgestaging
      6. forge register
      7. cd static/main-resource
      8. npm install && npm run build
      9. cd ../..
      10. forge deploy -e staging
      11. forge install -e staging
      a. supply your launcher host
      12. Create new confluence page
      13. Add macro called Test - inline ...
      14. Publish
      15. Hit https://<SITE>/wiki/api/v2/pages/<PAGE_ID>?body-format=export_view (v2 api) or https://<SITE>/wiki/rest/api/content/<page id>?expand=body.export_view (v1 api)

            Assignee:
            Unassigned
            Reporter:
            Andrew W.
            Votes:
            15 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: