[Date Prev][Date Next]
(ITS#8273) file:// URLs broken on Windows
Full_Name: Howard Chu
Submission from: (NULL) (18.104.22.168)
Submitted by: hyc
file URLs with absolute paths are parsed incorrectly on Windows. The current
code expects an absolute path in Unix form:
In our test suites we just concatenate "file://" with an absolute path.
On Windowsn ababsolute path starts with a drive letter and a colon, so our test
suite doing simple concatenation uses
This is actually invalid; the proper form would be
but the current parser won't do the right thing for either form.
It MUST be fixed to accept the latter form with 3 slashes. I'm inclined to also
accept the form with 2 slashes, to avoid hacking up our test suite to handle