When getting `content` from the Cloud API, the delivered html contains img src urls formatted in the following way:
src=\"https://name.atlassian.net/wiki/download/attachments/1768720069/Screen%20Shot%202020-10-12%20at%202.04.48%20PM.png?version=1&modificationDate=1602605753562&cacheVersion=1&api=v2\"
Which, in Safari, redirects to a secondary URL to download the attachment, which is HTTP, causing these errors:
URL used:
https://<org>.atlassian.net/wiki/rest/api/content/1768720069?expand=body.export_view
Is this an oversight? Or is there a way to get simpler URLs embedded in the export_view html? Thanks
Hello @Chris Miller!
As I understand, you are facing alerts about Mixed Content coming from Confluence. With this in mind, please allow me to ask a few questions. Here we go:
- Are those warnings present when using another browser?
- How exactly did you make the call to trigger those warnings?
- Are you unable to download attachment from your pages?
- How exactly did you trigger those warnings in Safari?
The export_view exports the page body content into HTML format with absolute links to content within it. There is a conversion happening, I believe that the mixed content is created during the creation of the links for the HTML content.
Let us hear from you!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.