Skip to content

HDDS-15178. [S3 Compatibility] Create EncodingTypeObject for Empty String#10195

Open
peterxcli wants to merge 1 commit intoapache:masterfrom
peterxcli:fix/s3-nullable-encoding
Open

HDDS-15178. [S3 Compatibility] Create EncodingTypeObject for Empty String#10195
peterxcli wants to merge 1 commit intoapache:masterfrom
peterxcli:fix/s3-nullable-encoding

Conversation

@peterxcli
Copy link
Copy Markdown
Member

@peterxcli peterxcli commented May 5, 2026

What changes were proposed in this pull request?

Updates the handling of empty string values for the name parameter in the EncodingTypeObject class, ensuring that empty strings are treated as valid (rather than null) and are properly marshaled and tested. It also improves test coverage and correctness for these cases.

this fixes two s3-test test cases:

relate to: #4127

What is the link to the Apache JIRA

https://issues.apache.org/jira/browse/HDDS-7710

How was this patch tested?

(Please explain how this patch was tested. Ex: unit tests, manual tests, workflow run on the fork git repo.)
(If this patch involves UI changes, please attach a screenshot; otherwise, remove this.)

…of empty string; update tests to cover new behavior.

Signed-off-by: peterxcli <peterxcli@gmail.com>
@peterxcli peterxcli changed the title HDDS-7710. Support AWS s3 ListObjects API's encodingType request parameter HDDS-15178. [S3 Compatibility] Create EncodingTypeObject for Empty String May 5, 2026
@peterxcli peterxcli requested review from adoroszlai and xichen01 May 5, 2026 20:10
@peterxcli
Copy link
Copy Markdown
Member Author

peterxcli commented May 5, 2026

I notice the jira ticket this PR for should be as a subtask under https://issues.apache.org/jira/browse/HDDS-8423, is there any way to fix it? I couldn't found the move option.

@peterxcli peterxcli self-assigned this May 5, 2026
@peterxcli peterxcli marked this pull request as ready for review May 5, 2026 20:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant