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

Fix a problem where the length validator counting bytes instead of utf8 chars #3712

Merged
merged 1 commit into from
Mar 21, 2024

Conversation

mworrell
Copy link
Member

Description

Now the validator converts the input to a binary before counting utf8 code points.

Checklist

  • documentation updated
  • tests added
  • no BC breaks

@mworrell mworrell added this to the 0.82 milestone Mar 21, 2024
@mworrell mworrell merged commit d83c0a5 into 0.x Mar 21, 2024
4 checks passed
@mworrell mworrell deleted the validator-length-utf8 branch March 21, 2024 10:51
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.

None yet

1 participant