Skip to content

[fix] s3 user agent configuration is incorrect#2903

Merged
caoxianfei1 merged 1 commit intoopencurve:masterfrom
Ziy1-Tan:config
Nov 20, 2023
Merged

[fix] s3 user agent configuration is incorrect#2903
caoxianfei1 merged 1 commit intoopencurve:masterfrom
Ziy1-Tan:config

Conversation

@Ziy1-Tan
Copy link
Copy Markdown
Contributor

What problem does this PR solve?

Issue Number: #2898

Problem Summary:

What is changed and how it works?

What's Changed:

How it Works:

Side effects(Breaking backward compatibility? Performance regression?):

Check List

  • Relevant documentation/comments is changed or added
  • I acknowledge that all my contributions will be made under the project's license

@Ziy1-Tan
Copy link
Copy Markdown
Contributor Author

cicheck

1 similar comment
@Ziy1-Tan
Copy link
Copy Markdown
Contributor Author

cicheck

Copy link
Copy Markdown
Contributor

@aspirer aspirer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good job, but one more testcase can be added.

std::array<std::string, 2>{"hello ", "hello"},
std::array<std::string, 2>{" hello ", "hello"},
std::array<std::string, 2>{" ", ""},
std::array<std::string, 2>{"", ""},
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should add a case for middle space, such as " S3 Browser ", "S3 Browser", the expect trimed string is "S3 Browser".

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed.

Copy link
Copy Markdown
Contributor

@aspirer aspirer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good

@caoxianfei1
Copy link
Copy Markdown

@Ziy1-Tan squash into one commit.

@aspirer aspirer self-requested a review November 17, 2023 06:47
@aspirer
Copy link
Copy Markdown
Contributor

aspirer commented Nov 17, 2023

@Ziy1-Tan squash into one commit.

This is not a requirement, it is a suggestion.

@aspirer
Copy link
Copy Markdown
Contributor

aspirer commented Nov 17, 2023

cicheck

@Ziy1-Tan
Copy link
Copy Markdown
Contributor Author

cicheck

Signed-off-by: Ziy1-Tan <ajb459684460@gmail.com>
@Ziy1-Tan
Copy link
Copy Markdown
Contributor Author

cicheck

@aspirer aspirer closed this Nov 20, 2023
@aspirer aspirer reopened this Nov 20, 2023
Copy link
Copy Markdown
Contributor

@aspirer aspirer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM~

@caoxianfei1 caoxianfei1 merged commit 0b82af8 into opencurve:master Nov 20, 2023
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.

3 participants