You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When an OTEL_RESOURCE_ATTRIBUTES value contains both a percent-encoded sequence and an unencoded non-ASCII character, the non-ASCII character is corrupted.
What did you see instead? key="caf� bar". EnvironmentResource.decodeResourceAttributes() writes each unencoded char into a byte array with (byte) c and decodes the array as UTF-8, so any char at or above U+0080 is truncated. Values without % skip decoding and are not affected.
What version and what artifacts are you using?
Artifacts: opentelemetry-sdk-extension-autoconfigure (also declarative config resource.attributes_list, which uses a copy of this class)
Version: 1.60.0 through 1.66.0, main @ 7f423cb
How did you reference these artifacts? N/A
Activity