If server_url is something like http://some-server.com, the current string concatenation strategy will lead to a // in the url, e.g.: http://some-server.com//svg/AbcD which can result in a 404 from the plantuml server (at least that's what the Docker image returns).
The fix is to ensure that the provided path always ends with a / and then use Url::join to build the resulting path.
If
server_url
is something likehttp://some-server.com
, the current string concatenation strategy will lead to a//
in the url, e.g.:http://some-server.com//svg/AbcD
which can result in a404
from the plantuml server (at least that's what the Docker image returns).The fix is to ensure that the provided path always ends with a
/
and then useUrl::join
to build the resulting path.