-
Notifications
You must be signed in to change notification settings - Fork 94
Open
Milestone
Description
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:
- Spec PR: feat: handle Windows file paths with backslashes in URL parsing whatwg/url#874
- Original issue: Windows file paths in URL parsing whatwg/url#873
- Chromium bug: https://issues.chromium.org/issues/437449112
Browser Configuration
- None
From webcompat.com with ❤️
Reactions are currently unavailable