[ 
https://issues.apache.org/jira/browse/HDDS-8183?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hui Fei resolved HDDS-8183.
---------------------------
    Resolution: Fixed

> Fix edge case where delimiter is empty string in BucketEndpoint#get
> -------------------------------------------------------------------
>
>                 Key: HDDS-8183
>                 URL: https://issues.apache.org/jira/browse/HDDS-8183
>             Project: Apache Ozone
>          Issue Type: Bug
>          Components: S3
>            Reporter: Ivan Andika
>            Assignee: Ivan Andika
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.4.0
>
>         Attachments: image-2023-03-16-15-47-34-674.png, 
> image-2023-03-16-15-49-48-168.png
>
>
> Let's say there are three keys:
>  * subdir_1/
>  * subdir_1/subdir_1_1/
>  * subdir_1/subdir_1_1/readme.md
> Prefix is subdir_1/
> When delimiter query parameter is empty string (""), all the keys are 
> returned as CommonPrefixes instead of the supposed Contents.
> !image-2023-03-16-15-47-34-674.png|width=460,height=363!
> When the delimiter query parameter is removed, it returns the expected data
> !image-2023-03-16-15-49-48-168.png|width=419,height=460!
> The problem was encountered when a user is trying to use Minio S3 client 
> commands with recursive flag (e.g. {{{}mc cp -r{}}}). Minio client sends 
> empty string as delimiter instead.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to