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

convert 'X-Cesium-Platform' to the rfc8187 format #158

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

joseph-kaile
Copy link
Collaborator

Fixes #155

Attempted to follow the format of https://www.rfc-editor.org/rfc/rfc8187. It adds utf-8 to the beginning, replaces spaces with %20 (assumes the spaces are unquoted), and replaces unicode character with the hex format.

image

@kring
Copy link
Member

kring commented Dec 19, 2022

Thanks @joseph-kaile, this looks good. I want to hold off merging it until @mramato has a chance to weigh in, though, because it has implications for the ability to parse information from the logs. Can I bug you to implement a simpler version of this in a separate PR that just replaces invalid characters with question marks? That allows us to fix the immediate problem without totally changing the format.

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 this pull request may close these issues.

Cesium tries to add invalid characters to HTTP request headers
2 participants