Skip to content

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