opentelemetry-dotnet
opentelemetry-dotnet copied to clipboard
[baggage] space encoding in baggage item value when injecting baggage
Bug Report
Packages:
OpenTelemetry.Api 1.7.0
Symptom
When injecting baggage, ' '
character (space) in baggage item value is encoded using +
, but should be percent-encoded according to the specification
.
Reproduce
Issue evident in BaggagePropagatorTests
Additional Context
Similar issue fixed recently by @pellared in https://github.com/open-telemetry/opentelemetry-go/pull/4756
Related to #5210.
This should be reopened after https://github.com/open-telemetry/opentelemetry-dotnet/pull/5687 was merged.