-
Notifications
You must be signed in to change notification settings - Fork 202
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
#239 PsLinkedin passes the request parameters to the URI. #245
Conversation
@super132 Thanks, let me find someone who can review this pull request |
@caarlos0 please review, thanks |
@super132 can you write some test? |
@caarlos0, I can write some tests but now there is no test for PsLinkedin and there is puzzle for it. Does it mean that I need to solve it together with that puzzle? Thanks. |
@super132 oh, if there is a puzzle already, I think we are good to go here.. |
@rultor good to merge |
Conflicts: src/main/java/org/takes/facets/auth/social/PsLinkedin.java
@caarlos0 I have amended the login test case to check for request body and URL. Please have a look. Thanks. |
@super132 looks good. |
@rultor good to merge |
new Take() { | ||
@Override | ||
public Response act(final Request req) throws IOException { | ||
final BufferedInputStream buffer = |
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.
@super132 I would rather use RqPrint(req).printBody()
@super132 there is a better/shorter way to do what you're doing, see above |
@yegor256 thanks for you advice. I have amended it using |
.append(lapp) | ||
.toString(), | ||
"redirect_uri=", | ||
new StringBuffer("client_secret=") |
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.
@super132 don't you think that String.format()
is more suitable here? see http://www.yegor256.com/2014/06/19/avoid-string-concatenation.html
@super132 one more comment, see above |
@yegor256 right, it would be cleaner to use |
@rultor try to merge |
@elenavolokhova please, let us know what do you think about this ticket, according to our QA rules |
@rultor deploy now pls |
@caarlos0
Please confirm that you will try to find at least three problems next time. |
@elenavolokhova Yes, I'll try |
@davvd Quality is acceptable here. |
@elenavolokhova thanks, got it. everybody, please try to make it good next time |
@caarlos0 just added 10 mins to @elenavolokhova (for QA), payment ID is |
For task #239, removing request parameters in
Href
object and move them into body.