Skip to content
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

Decode utf8 strings as whole, not in parts, fixes #774 #775

Merged
merged 8 commits into from
May 19, 2015

Conversation

mmoskal
Copy link
Contributor

@mmoskal mmoskal commented Mar 14, 2015

No description provided.

@yunong
Copy link
Member

yunong commented Mar 20, 2015

Thanks so much for the PR. Could you please write a test for this? Prefix the test name with 'GH-774'.

@mmoskal
Copy link
Contributor Author

mmoskal commented Apr 14, 2015

Test case added.

}

req.body = new Buffer(0);
return (function (chunk) {
req.body = Buffer.concat([req.body, chunk]);
if (chunk)
Copy link
Member

Choose a reason for hiding this comment

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

Please add braces around this if block -- since you've got braces around the else block

@mmoskal
Copy link
Contributor Author

mmoskal commented May 3, 2015

Any news on integrating this? I see someone else is also hitting this.

Thanks!
Michal

yunong added a commit that referenced this pull request May 19, 2015
Decode utf8 strings as whole, not in parts, fixes #774
@yunong yunong merged commit f050be0 into restify:master May 19, 2015
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.

2 participants