desruisseaux commented on code in PR #40:
URL: https://github.com/apache/sis/pull/40#discussion_r2792663139
##########
endorsed/src/org.apache.sis.cloud.aws/main/org/apache/sis/cloud/aws/s3/KeyPath.java:
##########
@@ -324,6 +335,16 @@ final class KeyPath implements Path {
key = null;
}
+ /**
+ * Reformat path, replacing "./" by "/"
Review Comment:
Why? Do we assume that the path is a POSIX path with "." for the current
directory? But Amazon keys are not POSIX paths, so where this path would come
from? Can we ask user to invoke `Path.normalize()` or `URI.normalize()`
instead, which would do better work?
--
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]