Repository navigation
Conversation
Contributor
There was a problem hiding this comment.
No issues found across 3 files
Tip: Get a Slack DM when cubic finishes reviewing your PRs. Connect Slack
View guided diff | Re-trigger cubic
Member
|
thanks for the PR please cc the technical committee moving forward: @antihax (2017/11) @grokify (2018/07) @kemokemo (2018/09) @jirikuncar (2021/01) @ph4r5h4d (2021/04) @lwj5 (2023/04) (for Go) ref: https://github.com/openAPITools/openapi-generator/#members-of-technical-committee |
Contributor
Author
Contributor
Author
|
folks, please review |
wing328
reviewed
Nov 24, 2026
| "utf16.EncodeRune(r)"); | ||
|
|
||
| try { | ||
| Process goVersion = new ProcessBuilder("go", "version").start(); |
Member
There was a problem hiding this comment.
please move the test to CI similar to what you did in #25089
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Fixes #25618
Escape non-ASCII characters and DEL in Go JSON-content header values. Supplementary Unicode characters use UTF-16 surrogate pairs. This preserves the JSON value while producing ASCII-safe headers for APIs that require them.
Ordinary headers retain their existing serialization, and JSON marshaling errors are propagated.
Tests
GoClientCodegenTest: 3 focused tests passed.go test ./....Summary by cubic
Fixes JSON-content header serialization in the Go client so non-ASCII characters and DEL are escaped as
\usequences instead of being sent raw, avoiding errors with APIs that require ASCII-safe headers.Written for commit 00f6157. Summary will update on new commits.