Diagramly wont show images correctly under HTTPS with context path

Pavel Smirnov Mar 10, 2013

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

1 votes

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?

Pavel Smirnov Mar 12, 2013

Confluence is 4.3.3

0 votes
Pavel Smirnov Mar 10, 2013

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