-
Notifications
You must be signed in to change notification settings - Fork 48
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
Dev Tools override on a domain caused response 'true' to be parsed incorrectly #261
Comments
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? My test is:
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 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.
The text was updated successfully, but these errors were encountered: