Bug: Server proxy corrupts JSON
Server proxy seems to strip escape characters from JSON request bodies, making them invalid.
Observed in diff between identical requests sent from (a) Axios and (b) Yaade configured to use server proxy. In the screenshot below, slash has been removed by Yaade, so the double quotation mark is no longer escaped, and the JSON becomes invalid.
Web inspector shows the slash is present when the request leaves the browser, so the corruption may be happening in the server proxy.
Running Yaade in Docker Compose on Debian Buster (amd64).
Interesting find. We don't do anything with the response. If this is true then the web client we are using might do some formatting. I will test it on my side and report back.
Thank you @jonrosner!
Not the response, but the request body that's corrupted. Here is the original issue that I misfiled with Hapi.js, in case it can be of use:
https://github.com/hapijs/hapi/issues/4461#issuecomment-1741188420