bugLibreJS - Bugs: bug #50551, installation in Firefox 54.0a2...

 
 

bug #50551: installation in Firefox 54.0a2 (2017-03-15) results in ALL sites returning compressed responses being blocked

Submitted by:  None
Submitted on:  Wed 15 Mar 2017 12:10:55 PM UTC  
Votes:  200  
 
Category: NoneSeverity: 4 - Important
Item Group: NoneStatus: Confirmed
Privacy: PublicAssigned to: zach wick <zwick>
Open/Closed: Open

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sat 15 Apr 2017 08:52:54 AM UTC, comment #2:

Same behaviour on Firefox 52.0.2 on Arch GNU/Linux

Mike <mikee3000>
Sun 26 Mar 2017 02:36:05 PM UTC, comment #1:

Anecdotally, I've seen this behavior on my work machine (a macOS machine).

zach wick <zwick>
Project AdministratorIn charge of this item.
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

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by usename135 (Voted in favor of this item)
  • -unavailable- added by barslmn (Voted in favor of this item)
  • -unavailable- added by mikee3000 (Posted a comment)
  • -unavailable- added by zwick (Posted a comment)
  • -unavailable- added by jvd (Reporter of this bug (sorry, didn't mean to file anonymously).)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 200 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 28 Jul 2017 06:40:06 AM UTCusename135Carbon-Copy-=>Added usename135
    Wed 21 Jun 2017 02:17:32 PM UTCbarslmnCarbon-Copy-=>Added barslmn
    Sun 26 Mar 2017 02:36:05 PM UTCzwickSeverity3 - Normal=>4 - Important
      StatusNone=>Confirmed
      Assigned toNone=>zwick
    Wed 15 Mar 2017 12:53:33 PM UTCjvdCarbon-Copy-=>Added reporter

    Back to the top


    Powered by Savane 3.1-cleanup1