Re: [url] URL comparison methods (#20)

Sure, but what I'm still unsure about is if path "foo" is in scope of "f". 

It would not be if we did segment comparison, unless it's specified as: beings with the same segments, and the last segment of B string matches the last segment of A OR the characters of the last segment of A start with the characters of the last segment of B.

If we do purely segment comparison (B starts with the same segments as A), it would make the implementations incorrect. 

To be sure: I don't know which of the two above is correct. That's what I'm hoping we can reach consensus on and add to the spec. 

---
Reply to this email directly or view it on GitHub:
https://github.com/webspecs/url/issues/20#issuecomment-67918973

Received on Tuesday, 23 December 2014 03:37:05 UTC