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

fix(decide): strip data= string from base64 encoded /decide requests before decoding them #24229

Merged
merged 1 commit into from
Aug 7, 2024

Conversation

dmarticus
Copy link
Contributor

Problem

Context: this thread: https://posthog.slack.com/archives/C034XD440RK/p1722909038070709?thread_ts=1722908110.193999&cid=C034XD440RK

Changes

  • modified base64_decode to handle this condition
  • added tests for this method

@dmarticus dmarticus requested a review from a team August 6, 2024 22:56
Copy link
Contributor

@Phanatic Phanatic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, good call on surrogatepass

@dmarticus dmarticus merged commit 077b6bd into master Aug 7, 2024
87 checks passed
@dmarticus dmarticus deleted the fix/understand-request-parsing-errors branch August 7, 2024 17:45
silentninja pushed a commit to silentninja/posthog that referenced this pull request Aug 8, 2024
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.

2 participants