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: escape unicode characters in get step #129

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

braunsonm
Copy link

  • Only replaces on the concourse metadata, not the output file
  • Without this, concourse GRPC will fail stating that the string contains unknown UTF-8 even if the body is valid UTF-8 according to go.

I'm happy to explore other options, however go's own utf8.ValidString considers the body from knative/operator as valid UTF-8 whereas Concourse does not. Since this only affects the Concourse metadata on the get step I think this is a reasonable compromise.

Fixes #128

- Only replaces on the concourse metadata, not the output file
- Without this, concourse GRPC will fail stating that the string
contains unknown UTF-8 even if the body is valid UTF-8 according to
go.
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.

get fails: grpc string contains invalid UTF-8 character
1 participant