Skip to content

github.com - see bug description #170937

@mertcanaltin

Description

@mertcanaltin

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
  • None

From webcompat.com with ❤️

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions