building fileUrl on windows in repl.cljc results with java.net.UnknownHostException
I think that the following line might cause the problem on windows:
For file param e.g. "src\duct3\client.cljs"
(str "file://" (.getAbsolutePath file))
evaluates on windows as:
which is not legal file Url (https://en.wikipedia.org/wiki/File_URI_scheme#Windows)
and final result is: java.net.UnknownHostException (java treat that URL as FTP address).
CLJS-2155-2.patch added to Patch Tender
CLJS-2155-2.patch passes CI
Hi Mike, I have attached a new patch with your suggested approach.
Hey David, even though you marked this one as accepted, my take on the above was that I had suggested perhaps a cleaner way to Vojimir, he had tried it, and it worked for him. I think we'd be interested in Vojimir's cleaner patch.
I have tried WO "file://", as you have said, and it works perfectly.