Closed gillesB closed 1 year ago
I think we should resolve the proper path for each condition separately, instead of replacing the colon(:).
Closing as this was resolved with https://github.com/asciidocfx/AsciidocFX/commit/4414eea3647eef29af49dd93349a20631e0bdfac
Thank you.
Hello,
the current implementation of the template download does not work under Windows. The problem is the first colon in a URL, when the filename should be retrieved via the Path API.
As a simple workaround, the first colon is removed if the location start with
http:
orhttps:
. I am not sure if this is the best way, but handling this correctly, not knowing if the String is a WindowsPath, PosixPath or URL is quite hard.