There are 4 updates, 1 comment.
 
 
PlantUML Macro / cid:jira-generated-image-avatar-f56adc29-8be7-4a3d-a8da-f924e2a1d0b0 PLANTUML-14 Closed

Malformed URL generated by PlantUML Macro

 
View issue   ยท   Add comment
 

4 updates

 
cid:jira-generated-image-avatar-c96758a5-506c-43e7-8270-2ca4c8339338 Changes by Vincent Massol on 21/Oct/26 20:33
 
Version: 1.0
Assignee: Vincent Massol
Resolution: Duplicate
Status: Open Closed
 
 

1 comment

 
cid:jira-generated-image-avatar-c96758a5-506c-43e7-8270-2ca4c8339338 Vincent Massol on 21/Oct/26 20:33
 

This is no longer an issue since version 2.0 and the rewrite of the macro in Java (PLANTUML-5, https://github.com/xwiki-contrib/macro-plantuml/commit/0602f87): the PlantUML server is now called by XWiki server-side and the generated image is served by XWiki as a temporary resource, so the browser never gets an image link built from the configured server URL.

In addition, since 2.4.1 (PLANTUML-25, https://github.com/xwiki-contrib/macro-plantuml/commit/c8b19bd) a relative server URL such as "/plantuml/" is rejected with an explicit "Invalid PlantUML Server URL" error. Use an absolute URL instead (e.g. "http://localhost:8080/plantuml/" if the PlantUML server runs on the same host).