Closed Bug 722157 Opened 11 years ago Closed 8 years ago

gzip file is being opened in browser instead of downloaded.

Categories

(Web Compatibility :: Desktop, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: milad.b.patterson, Assigned: karlcow)

References

()

Details

(Whiteboard: [country-us] [http] [contactready] [sitewait])

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0a1) Gecko/20120128 Firefox/12.0a1
Build ID: 20120128031108

Steps to reproduce:

visited this link to download a gzipped file:
https://lastpass.com/fedora/pocket_x64.tar.bz2

but firefox tries to show its content in the browser, which is gibberish.
google chrome shows the download dialog just fine, so this seems a firefox bug.
HTTP Response headers from the server:
Content-Type: text/plain
Transfer-Encoding: chunked
Content-Encoding: gzip

Firefox is displaying the file exactly as the server is instructing it to.
Assignee: nobody → english-us
Status: UNCONFIRMED → NEW
Component: Untriaged → English US
Ever confirmed: true
Product: Firefox → Tech Evangelism
QA Contact: untriaged → english-us
Version: 12 Branch → unspecified
As noted in comment 1, this is a broken MIME type. You'll need to contact the server operators and inform them of the problem.
Assignee: english-us → milad.b.patterson
OS: Linux → All
Hardware: x86_64 → All
Herom, did you contact them?
It seems they still haven't fixed it yet

→ http HEAD https://lastpass.com/fedora/pocket_x64.tar.bz2

HTTP/1.1 200 OK
Connection: keep-alive
Content-Encoding: gzip
Content-Type: text/plain
Date: Fri, 26 Sep 2014 00:26:25 GMT
Last-Modified: Wed, 02 Jul 2014 13:46:00 GMT
Server: LastPass
Vary: Accept-Encoding


They are still sending "Content-Type: text/plain"


If they are using Apache, they could configure with 
  AddType application/x-bzip2 .bz2

They need to be contacted.
https://twitter.com/LastPass
Component: English US → Desktop
Whiteboard: [country-us] [http] [contactready]
Contacted 
http://twitter.com/MozWebCompat/status/515298058259529728
Assignee: milad.b.patterson → kdubost
Status: NEW → ASSIGNED
Whiteboard: [country-us] [http] [contactready] → [country-us] [http] [contactready] [sitewait]
Fixed, thanks.
Confirmed as fixed. Thanks!
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Product: Tech Evangelism → Web Compatibility
You need to log in before you can comment on or make changes to this bug.