Re: [whatwg/url] Should we escape \ in non-special non-opaque paths? (Issue #675)

You know what, scratch my previous comment. It’s not good.

Let’s take a step back.   

I have never seen an hierarchical URL with a `\` in its path that should _not_ be interpreted as a delimiter. 

Isn’t it way better to just treat any `\` in any URL string as `/` unless the scheme indicates an opaque path? (ref, #385).  

Better backward compatibility, much simpler parser, fewer special cases. 

The current alignment is cool, but you will manage to get that again, don’t let it prevent us from making solid improvements.

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

Message ID: <whatwg/url/issues/675/2516962611@github.com>

Received on Wednesday, 4 December 2024 10:53:24 UTC