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 printing of XML on parse failure #70

Merged
merged 3 commits into from
Nov 19, 2023
Merged

Fix printing of XML on parse failure #70

merged 3 commits into from
Nov 19, 2023

Conversation

Beyley
Copy link
Contributor

@Beyley Beyley commented Nov 17, 2023

No description provided.

@Beyley Beyley requested a review from jvyden November 17, 2023 02:11
Copy link
Member

@jvyden jvyden left a comment

Choose a reason for hiding this comment

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

Have you checked if this also happens with JSON?

Bunkum.Core/Endpoints/Middlewares/MainMiddleware.cs Outdated Show resolved Hide resolved
@Beyley Beyley requested a review from jvyden November 18, 2023 22:36
@jvyden
Copy link
Member

jvyden commented Nov 19, 2023

Actually, before I merge, do we know if this affects performance or fixes the null byte bug?

@Beyley
Copy link
Contributor Author

Beyley commented Nov 19, 2023

Actually, before I merge, do we know if this affects performance or fixes the null byte bug?

Performance should be exactly the same (maybe slightly faster?), and it does not fix the null byte issue, the request itself going over the wire has the null bytes, and its not just a single null byte, the game itself is reading out of bounds when sending the data

@jvyden jvyden merged commit 289dc35 into main Nov 19, 2023
1 check passed
@jvyden jvyden deleted the fix-xml-debug-print branch December 4, 2023 03:31
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