Re: [whatwg/url] Add non-special-URL hosts (#185)

Sigh. I believe the current design is fundamentally broken.

By the time you get to the "path state", any knowledge of an empty path or a path solely consisting of "/" is gone. We should probably redo that and instead make special URLs append the empty string to path if they have no path somehow.

I should probably play around with whatwg-url some more to determine how much work that is and whether it's worth splitting the host and path changes into separate PRs.

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

Received on Thursday, 19 January 2017 17:02:56 UTC