-
Notifications
You must be signed in to change notification settings - Fork 527
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[fix] s3 user agent configuration is incorrect #2903
Conversation
cicheck |
1 similar comment
cicheck |
There was a problem hiding this 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>{"", ""}, |
There was a problem hiding this comment.
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".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good
@Ziy1-Tan squash into one commit. |
This is not a requirement, it is a suggestion. |
cicheck |
cicheck |
Signed-off-by: Ziy1-Tan <[email protected]>
cicheck |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM~
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