Skip to content

Conversation

@goelbenj
Copy link

This PR addresses the problem detailed in #6586. The fix involves measuring the encoded byte-length of the string as per RFC 9910.

This PR includes two tests that verify the fix addresses the problem. Additionally, all tests pass locally, so no regressions have occurred.

bruceadams and others added 4 commits November 27, 2023 17:27
There are two tests here. One demonstrating existing, correct
behavior for `data=bytes`, and another, failing, test for the case
where `data=string` and the string contains multi-byte UTF-8.
@sigmavirus24
Copy link
Contributor

Closing as a duplicate of #6589

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants