URL: whatwg/url#873
Browser / Version: Chrome 138.0.0
Operating System: Mac OS X 10.15.7
Tested Another Browser: Yes Other
Problem type: Something else
Description: I've discovered an interesting behavior in the WHATWG URL specification: Windows file paths such as C:\path\file.node are considered valid URLs.
Steps to Reproduce:
The WHATWG URL spec is adding Windows file path handling.
Windows drive letter patterns ([a-zA-Z]:) should
automatically convert to file:/// URLs.
Expected behavior:
Input: C:\folder\file.txt
Output: file:///C:/folder/file.txt
Related links:
Browser Configuration
From webcompat.com with ❤️
URL: whatwg/url#873
Browser / Version: Chrome 138.0.0
Operating System: Mac OS X 10.15.7
Tested Another Browser: Yes Other
Problem type: Something else
Description: I've discovered an interesting behavior in the WHATWG URL specification: Windows file paths such as C:\path\file.node are considered valid URLs.
Steps to Reproduce:
The WHATWG URL spec is adding Windows file path handling.
Windows drive letter patterns ([a-zA-Z]:) should
automatically convert to file:/// URLs.
Expected behavior:
Input: C:\folder\file.txt
Output: file:///C:/folder/file.txt
Related links:
Browser Configuration
From webcompat.com with ❤️