-
Notifications
You must be signed in to change notification settings - Fork 4
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
S2S call fails when encoding non-UTF-8 data #29
Comments
Just replicated by passing a non-ASCII character in any additional header along with the request. Ex:
This causes the enforcer to fail with the following error:
|
FWIW, this seems like a similar issue: getsentry/sentry-ruby#689 There's no set encoding when reading the data from the Rack request, so it seems like a reasonable solution would be to force the encoding somewhere. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Still trying to get more details on this, but we're seeing PX fail open due to encoding errors when making the S2S call. Example error:
I'm guessing there are some ASCII chars in one of the headers or in the cookie. This might be easiest to replicate with tests first.
The text was updated successfully, but these errors were encountered: