Skip to content

Add test for malformed bodySummary #559

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

Merged
merged 1 commit into from
Apr 17, 2023

Conversation

jtojnar
Copy link

@jtojnar jtojnar commented Apr 17, 2023

The documentation comment states: “Will return null if the response is not printable.” but until recently, this was not actually true – the function would gladly return a string truncated in the middle of an Unicode codepoint. 3f849aa fixed that.

Let’s add a corresponding test.

The documentation comment states: “Will return null if the response is not printable.”
but until recently, this was not actually true – the function would gladly return
a string truncated in the middle of an Unicode codepoint.
3f849aa fixed that.

Let’s add a corresponding test.
@GrahamCampbell GrahamCampbell merged commit 5fb9cd7 into guzzle:2.5 Apr 17, 2023
@GrahamCampbell
Copy link
Member

Thanks for adding tests here. Much appreciated. 🎉

@jtojnar jtojnar deleted the no-malformed-test branch April 17, 2023 21:17
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