Closed SonnyX closed 4 years ago
What's that?
file:// is the prefix for the file protocol
file:/// is the prefix for the file protocol, plus a leading / pointing to the root directory of the current drive (On Windows) or the overall root directory (On Linux / Unix).
For some reason sciter does not like file:///C:/...
on windows, even though that is how it is (and should be) used elsewhere. e.g. browsers.
That's debatable.
First, C:/
on Windows is marker of FS root. And second, having this url file://foo.bar
what would be the used path ?
That would depend on the Working Directory
/pwd
in my assumption, thus it being a relative path instead.
However for the leading /
, I'm merely stating how I have seen other libraries and applications implement the paths for the file protocol.
I'll close this since I feel like this is a "Won't fix"
https://stackoverflow.com/questions/3616795/what-is-the-difference-between-file-file-file