Skip to content

Implement Windows file path handling in URL parsing (WHATWG URL #874) #30363

Description

@mertcanaltin

The WHATWG URL specification is adding Windows file path
handling support. Windows drive letter patterns should
automatically convert to file:/// URLs when parsing.

Expected behavior

new URL("C:\\folder\\file.txt")
// Should output: file:///C:/folder/file.txt

Related links

Metadata

Metadata

Assignees

No one assigned

    Labels

    ext/webrelated to the ext/web crate

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions