Dot segments not removed
jathd opened this issue · 0 comments
jathd commented
Dot segments are not always removed from the path of a reference URI when merging it with a base URI:
(merge-uris "/./g" "foo://a/b/c") ; => #<URI foo://a/./g>
RFC 3986 warns that dot segments must be removed even for an absolute path:
However, some
deployed implementations incorrectly assume that reference resolution
is not necessary when the reference is already a URI and thus fail to
remove dot-segments when they occur in non-relative paths. URI
normalizers should remove dot-segments by applying the
remove_dot_segments algorithm to the path, as described in
Section 5.2.4.