opentelemetry-dotnet icon indicating copy to clipboard operation
opentelemetry-dotnet copied to clipboard

[baggage] space encoding in baggage item value when injecting baggage

Open lachmatt opened this issue 1 year ago • 2 comments

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

lachmatt avatar Jan 26 '24 09:01 lachmatt

Related to #5210.

reyang avatar Jan 31 '24 19:01 reyang

This should be reopened after https://github.com/open-telemetry/opentelemetry-dotnet/pull/5687 was merged.

lachmatt avatar Jun 19 '24 09:06 lachmatt