Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Precent character in value must be precent-encoded #124

Closed
pellared opened this issue Dec 20, 2023 · 0 comments · Fixed by #125
Closed

Precent character in value must be precent-encoded #124

pellared opened this issue Dec 20, 2023 · 0 comments · Fixed by #125

Comments

@pellared
Copy link
Contributor

pellared commented Dec 20, 2023

A value contains a string whose character encoding MUST be UTF-8 [[Encoding]].
Any characters outside of the `baggage-octet` range of characters MUST be percent-encoded.
Characters which are not required to be percent-encoded MAY be percent-encoded.
Percent-encoding is defined in [[RFC3986]], Section 2.1: https://datatracker.ietf.org/doc/html/rfc3986#section-2.1.

This misses a case that precent character MUST be encoded as well.

Otherwise how we would know if %20 stands for (whitespace) or %20? %20 value must be encoded into %2520.

Found here: open-telemetry/opentelemetry-go#4756 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant