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(plugin-server): fix unicode null byte blowing up the pipeline #18282

Merged
merged 1 commit into from
Oct 30, 2023

Conversation

bretthoerner
Copy link
Contributor

Problem

The Unicode null byte isn't allowed in PG jsonb columns.

Changes

Replace null byte with the Unicode replacement character.

👉 Stay up-to-date with PostHog coding conventions for a smoother review.

How did you test this code?

Unit and functional tests.

@bretthoerner bretthoerner force-pushed the brett/jsonb-null branch 2 times, most recently from 2471eac to d4b4713 Compare October 30, 2023 22:06
@bretthoerner bretthoerner requested a review from a team October 30, 2023 22:32
Copy link
Member

@fuziontech fuziontech left a comment

Choose a reason for hiding this comment

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

🚢 it

@davemurphysf
Copy link

Today I learned!

@bretthoerner
Copy link
Contributor Author

@bretthoerner bretthoerner merged commit d164087 into master Oct 30, 2023
68 checks passed
@bretthoerner bretthoerner deleted the brett/jsonb-null branch October 30, 2023 22:39
@xvello
Copy link
Contributor

xvello commented Oct 31, 2023

💜

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.

4 participants