-
-
Notifications
You must be signed in to change notification settings - Fork 103
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
Invalid json, trailing null chars added #11
Comments
It has added it, there is a setting which removes the extension and the trailing null is removed |
This is a known issue while using browser extension. We're working on a fix. Kindly stay tuned. |
While a better fix is being worked on is it worth just adding .replace(/\0$/, '') to remove the null byte ? |
Well, I did a patch in Hoppscotch for just removing the null byte, but i will get around fixing that soon. Keeping this issue open until then. |
The same issue is also true for image/svg+xml. |
@timogriese The extension is not abandoned and is still actively supported, there wasn't much work on it is why there aren't any updates. We had a patch long back on hoppscotch app itself to trim the trailing null. If you are able to reproduce, can I get like an endpoint or something I can test on ? |
@AndrewBastin Thank you for your quick feedback. Here is an endpoint for debugging the issue. https://bygdrvuqslgkfdiatvkf.functions.supabase.co/hoppscotch-debug/generate/pattern |
Looks like the answered response is corrupted
The raw data downloaded from https://hoppscotch.io/ has two null character at this end.
I have checked with wireshark, there is no issue the data is correct and there is not trailing null chars
I suspect to plugin to have added it, how can I check it ?
The text was updated successfully, but these errors were encountered: