Closed Tomalak closed 6 years ago
Sounds like https://github.com/gorhill/uMatrix/issues/912
@uBlock-user Possibly. What has me stumped here is that (contrary to the similar issues) only atually disabling the extension makes a difference. Reloading the page with F5 does nothing at all.
Chrome is perfectly happy with the server response as long as uBlock is not enabled.
@Tomalak Try settingdisableCSPReportInjection
to true
. If it works, that confirms that it is indeed #912.
@uBlock-user All-right, that's it. Thank you.
@gorhill Seems the bug got fixed today in Chromium 66.
Setup:
This happens on one of my company's Intranet webservers (IIS, gzip compression is enabled) and appears directly tied to the enabled/disabled state of the uMatrix extension. When uMatrix is enabled, the pages look like this:
That appears to be textual representation of the raw, gzipped bytes of the server response body.
When uMatrix is disabled, the pages look perfectly fine. The issue does not seem occur with other servers that have compressed responses, but can be reproduced reliably on this one.
Here is what I did:
Other observations:
When uMatrix is enabled, there is only a single request in the "Network" tab of Chromes dev tools - the one for the page itself, which comes back with 200 OK, but garbled body text. When uMatrix is disabled, the body text looks fine and the other resources (scripts, CSS, etc) are requested subsequently as the page renders.
There is nothing of note in the uMatrix logger window. The request shows up there as well and appears with a gray background, i.e. untouched by uMatrix.
For the sake of completeness, these are the server response headers:
I realize that this potentially falls into the "if I disable uMatrix it works" category that you don't want to hear about, but I've done my best to make a case that it isn't merely misconfiguration or lack of understanding of how uMatrix works, but more likely something in the internals of uMatrix itself.
Happy to give anything you would need, but frankly I am at a loss what else to provide. (I could provide Wireshark dumps if need be, but I am reluctant to do so just yet.)