Should OTEL_EXPORTER_OTLP_HEADERS contain CGI escaped values? #2050
-
We are trying to use the name, err := url.QueryUnescape(nameValue[0])
if err != nil {
continue
}
trimmedName := strings.TrimSpace(name)
value, err := url.QueryUnescape(nameValue[1])
if err != nil {
continue
} However, after reviewing the Specification it looks like there is not an explicit requirement for the values to be CGI escaped:
As far as I can tell I do not see any explicit guidance in the header format that states the keys and values should be CGI escaped: https://github.com/w3c/baggage/blob/main/baggage/HTTP_HEADER_FORMAT.md Is there something I am misunderstanding here? Is there a requirement for the environment variables to have CGI Escaped Keys and Values? cc: @open-telemetry/ruby-approvers |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
This looks like a bug. I'm going to convert this to an issue to track the work. |
Beta Was this translation helpful? Give feedback.
This looks like a bug. I'm going to convert this to an issue to track the work.