-
Notifications
You must be signed in to change notification settings - Fork 26
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
#394 #395
#394 #395
Conversation
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.
Looks fine. Thanks for the contribution
@@ -138,16 +138,16 @@ private String buildRepoUri(ClientRequest repoRequest) { | |||
if (params != null && params.names() != null && !params.names().isEmpty()) { | |||
uri.append("?") | |||
.append(params.names().stream() | |||
.map(name -> new StringBuilder(name).append("=") | |||
.append(encodeParamValue(params.get(name)))) | |||
.map(name -> new StringBuilder(encode(name)).append("=") |
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.
Please write the Unit test for this case.
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.
Test added, as a part of SampleApplicationTest
.
Please also remember about updating the changelog. |
…ame contains spaces. Remove redundant ternary operator in repository connector
Added encoding of uri parameter names