Wed 15 Mar 2017 12:10:55 PM UTC, original submission:
Today I decided to give LibreJS a try, installing it in
my Firefox 54.0a2 (Developer Edition, Aurora Channel)
x86_64 Linux browser .
After installation, ALL sites, including
http://savannah.gnu.org/project/librejs
and
http://google.com
are blocked - attempts to make any request from them
result in the error:
'Content Encoding Error:
The page you are trying to view cannot be shown because
it uses an invalid or unsupported form of compression.
Please contact the web site owners to inform them of this
problem.
'
Here are the request header and responses from LibreJS site:
Request:
Request URL: http://savannah.gnu.org/projects/librejs/
Request method: GET
Remote address: http://savannah.gnu.org/projects/librejs/
Status code: 200
Version: HTTP/2.0
Host: savannah.gnu.org
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8
Accept-Language: en-GB,en;q=0.5
Accept-Encoding: gzip
Connection: keep-alive
Upgrade-Insecure-Requests: 1
Cache-Control: max-age=0, no-cache
Pragma: no-cache
Note the status code is 200 (OK) . Something in LibreJS is
rejecting the response because it is compressed , as it does
for http://www.google.com:
Request URL: https://www.google.ie/?gws_rd=cr,ssl&ei=oSfJWMD5NuaBgAa_nLeYCw
Actually, I requested 'https://www.google.com', but am
redirected to the above URL. A tool to disable this redirection
would be more valuable to have than a working LibreJS !
Request method: GET
Remote address: 159.134.168.52:443
Status code: 200
Version: HTTP/2.0
Response headers (311 B)
Date: "Wed, 15 Mar 2017 11:39:30 GMT"
Expires: "-1"
Cache-Control "private, max-age=0"
Content-Type: "text/html; charset=UTF-8"
Content-Encoding:"gzip"
Server: "gws"
x-xss-protection:"1; mode=block"
x-frame-options: "SAMEORIGIN"
Alt-Svc: "quic=\":443\"; ma=2592000; v=\"36,35,34\""
X-Firefox-Spdy: "h2"
Request headers (903 B)
Host: "www.google.ie"
User-Agent: "Mozilla/5.0 (X11; Linux x86_6… Gecko/20100101 Firefox/54.0"
Accept: "text/html,application/xhtml+x…lication/xml;q=0.9,/;q=0.8"
Accept-Language: "en-GB,en;q=0.5"
Accept-Encoding: "gzip, deflate, br"
Cookie: "NID=99=X5qE1d1COaUAMzbSTmWPNK…-KRjBbmwqB; OGPC=5061821-25:"
Connection: "keep-alive"
Upgrade-Insecure-Requests: "1"
Cache-Control: "max-age=0"
In both cases, the 'Content Encoding Error' occurs, even though
the negotiated content encoding is 'gzip' . Is 'gzip' now
'an invalid or unsupported form of compression' ?
Why is LibreJS concerning itself at all with the Content Encoding - I thought its only job was to detect non-free / obfuscated JavaScript ?
It must be something to do with LibreJS, since simply disabling
the add-on fixes the problem & allows me to browse the web again.
I would like a tool like LibreJS to detect & complain about
proprietary & obfuscated JavaScript, which IMHO are destroying the usability of the web .
Better luck with future versions!
Thanks & Regards,
Jason
|