-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
move/copy: support objects that end with a trailing slash
unlike a filesystem, where a slash is a special character, there are no restrictions or requirements about object keys in object storage. an object can end with a trailing slash, and listing can choose a delimiter other than a slash. so, as a result, it is insufficient to test if a user is trying to do a recursive copy or move by checking if the input ends with a slash. they may genuinely have an object with a trailing slash in the object name, or may want one, and we need to support move and copy with those objects. see storj/customer-issues#2066 (comment) for more Change-Id: I2cdc581e19d6bc1a9b47b3b4f7bae1ceb3cd1446
- Loading branch information
Showing
4 changed files
with
72 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters