Open bjorn-einar-bjartnes-4ss opened 2 weeks ago
Thanks for reaching out and reporting this. Can you please help me investigate this a bit by providing more details on the override that you've used? I've set up a local test to try and reproduce the problem, but no luck so far.
My test is:
true
as its only content.Then, in DevTools, I right click on the index.html request in the Network tool, and click Override Content. I then override the HTML content to add something unrelated.
I then reload the page, click the button, and inspect the response from the fetch request, and I see true
, as expected.
So, obviously, I'm missing something from your setup.
When I have an active rule on an override on a domain, even if it did not match the HTTP request other than being on the same domain, the response application/json with value true, which is valid json text, is parsed as
When disabling overrides, it is back to
I checked, the response is pure ASCII, seems to be nothing fuzzy about it, but it gets wrongly presented in the tools and parsing in the application fails, so somehow the response has been tampered with.