Diagramly wont show images correctly under HTTPS with context path

Diagramly latest on Confluence latest worked perfectly 2 hours ago.

Confluence was secured with HTTPS reverse proxy and alas -- garbage instead of real diagrams.

On closer inspection image URLs are not including correct context path, e.g.

https://myhostname/download/resources/com.mxgraph.confluence.plugins.diagramly:diagramly-editor/img/...

shall actually have been:

https://myhostname/wiki/download/resources/com.mxgraph.confluence.plugins.diagramly:diagramly-editor...

because context path "/wiki" is configured inside server.xml

2 answers

We will look into it. What version of Confluence are you using?

Are you saying plugin works correctly for you with http but not with https?

Confluence is 4.3.3

On even close inspection I can see this:

<mxCell id="92" value="Internet" style="image;image=/download/resources/com.mxgraph.confluence.plugins.diagramly:diagramly-editor/img/lib/clip_art/networking/Cloud_128x128.png"....

And this naturally does not contain image=/wiki/ in front of the URL...

Plugin shall be looking at application context when injecting img links...

Suggest an answer

Log in or Register to answer

Stay in touch

Be the first to know what's trending on Atlassian Community