Re: [whatwg/url] feat: handle Windows file paths with backslashes in URL parsing (PR #874)

mertcanaltin left a comment (whatwg/url#874)

@annevk Thank you for your suggestion. I applied it and the results are as follows:

  - Single ASCII character + :\ → Windows file path
  - CC:\path → Error (invalid drive)
  - UNC paths → file:// URL
  - Backslash is valid in opaque paths

Test results:
  - 5342/5381 successful (99.3%)
  - 38 edge cases remain

 I need guidance for these edge cases:
  - `C:\\\path` (multiple backslashes)
  - `\\.\Y:` (device paths)
  - Special characters in paths (`#`, `?`)

 I can update the WPT tests based on these edge cases.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/url/pull/874#issuecomment-3393358682
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/url/pull/874/c3393358682@github.com>

Received on Saturday, 11 October 2025 14:02:25 UTC