Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add tests demonstrating incorrect empty relative path serialization b…
…y uri.path() and uri.pathname(). Clearly the relative path from"/a/b/c/" to "/a/b/c/" is the empty relative path "", and not "/". Equivalently, URI("").path() should return the empty string "", but in fact returns "/". The empty relative path is serialized correctly by .toString(), but incorrectly by .path() and .pathname().
- Loading branch information