garydgregory commented on code in PR #543:
URL: https://github.com/apache/commons-vfs/pull/543#discussion_r1641803854


##########
commons-vfs2/src/test/java/org/apache/commons/vfs2/provider/UriParserTest.java:
##########
@@ -99,4 +100,20 @@ public void testTypeOfNormalizedPath() {
             fail(e);
         }
     }
+
+    @Test
+    public void testPathOfNormalizedPath() throws FileSystemException {
+        checkNormalizedPath("./Sub Folder/", "/Sub Folder");

Review Comment:
   I think this PR should only address ONE claim because I am not sure this is 
correct according to [RFC 3986 Section 
3.3](https://www.rfc-editor.org/rfc/rfc3986#section-3.3) regarding trailing 
"/": A path "/foo/bar" has two segments and a path "/foo/bar/" has 3 segments 
where the last segment is empty. At least that's how I read it. I'll also 
[ask](https://lists.apache.org/thread/n4nrod16m7lvs36n0bcdh9w587gg8h8d) on the 
[dev mailing list](https://commons.apache.org/mail-lists.html), where you are 
welcome to participate as well.
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to