This PR adds support for URL-encoded values in OTEL_EXPORTER_OTLP_HEADERS and related headers, which is required by the specification.
The necessary url_decode function is added to ext/include/opentelemetry/ext/http/common/url_parser.h, which was renamed to ext/include/opentelemetry/ext/http/common/url_util.h to reflect the change.
For backwards compatibility, both URL-encoded and non-URL-encoded values are supported, for example:
Fixes #2523
Changes
This PR adds support for URL-encoded values in
OTEL_EXPORTER_OTLP_HEADERS
and related headers, which is required by the specification.The necessary
url_decode
function is added toext/include/opentelemetry/ext/http/common/url_parser.h
, which was renamed toext/include/opentelemetry/ext/http/common/url_util.h
to reflect the change.For backwards compatibility, both URL-encoded and non-URL-encoded values are supported, for example:
CHANGELOG.md
updated for non-trivial changes