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

Large hex strings are unquoted when marshalled #586

Open
mcdee opened this issue Dec 10, 2024 · 0 comments
Open

Large hex strings are unquoted when marshalled #586

mcdee opened this issue Dec 10, 2024 · 0 comments
Labels
bug Something isn't working encoder

Comments

@mcdee
Copy link

mcdee commented Dec 10, 2024

Describe the bug

Large hex strings are being encoded without quotes, and small hex strings are being encoded with quotes.

To Reproduce

https://go.dev/play/p/U1vXmvyBhLt

Expected behavior

Hex strings should remain quoted regardless of length.

Version Variables

  • Go version: 1.23.2
  • go-yaml's Version: 1.15.8
@mcdee mcdee added the bug Something isn't working label Dec 10, 2024
@goccy goccy added the encoder label Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working encoder
Projects
None yet
Development

No branches or pull requests

2 participants