pulumi/pkg/resource
Levi Blackstone 19a113de7a
Handle invalid UTF-8 characters before RPC calls (#4816)
Several users reported cases where error messages would
cause a panic if they contained accented characters. I wasn't
able to reproduce this failure locally, but tracked down the
panic to logging gRPC calls. The Message field is typed as
a string, which requires all of the characters to be valid UTF-8.

This change runs each log string through the strings.ToValidUTF8
function, which will replace any invalid characters with the
"unknown" character. This should prevent the the logger from
panicking.
2020-06-17 13:30:59 -06:00
..
analyzer Breaking changes due to Feature 2.0 work 2020-04-14 09:30:25 +01:00
deploy Merge pull request #4489 from pulumi/jaxxstorm/ordered_secrets 2020-04-27 09:36:29 -07:00
edit Breaking changes due to Feature 2.0 work 2020-04-14 09:30:25 +01:00
graph Breaking changes due to Feature 2.0 work 2020-04-14 09:30:25 +01:00
provider Handle invalid UTF-8 characters before RPC calls (#4816) 2020-06-17 13:30:59 -06:00
stack [codegen/hcl2] Fixes for RewriteConversions. (#4743) 2020-06-02 12:00:35 -07:00
testdata Fix asset bugs; write more tests 2017-10-24 09:00:11 -07:00