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(user-report): Accept user reports with trailing whitespaces #2798

Merged
merged 2 commits into from
Dec 5, 2023

Conversation

Dav1dde
Copy link
Member

@Dav1dde Dav1dde commented Nov 30, 2023

We have a customer with a forked version of the native SDK which is sending invalid user reports with a trailing \n. Trim the payload before parsing it to allow user reports to go through.

@Dav1dde Dav1dde requested a review from a team November 30, 2023 10:53
@Dav1dde Dav1dde force-pushed the fix/native-user-report branch from 79bed5b to 18fa31c Compare November 30, 2023 10:54
@Dav1dde Dav1dde self-assigned this Nov 30, 2023
@Dav1dde Dav1dde force-pushed the fix/native-user-report branch from 18fa31c to d26589a Compare November 30, 2023 10:57
@Dav1dde
Copy link
Member Author

Dav1dde commented Nov 30, 2023

Okay so this is weird, the native SDK does not even implement the functionality to send user feedback reports and we are seeing this from a version that is >1 year outdated. Maybe the customer made some modifications to their SDK. I want to investigate this first before we go ahead with this.

@Dav1dde Dav1dde requested a review from a team as a code owner December 5, 2023 08:20
@Dav1dde Dav1dde enabled auto-merge (squash) December 5, 2023 08:23
@Dav1dde Dav1dde merged commit bbdb38b into master Dec 5, 2023
21 checks passed
@Dav1dde Dav1dde deleted the fix/native-user-report branch December 5, 2023 09:12
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