Bug#459365: epiphany-browser: Doesn't honor "Content-Encoding: gzip" when doing "Save Link As..."
Mike Paul
mike at wyzardry.net
Sat Jan 5 21:56:34 UTC 2008
Package: epiphany-browser
Version: 2.20.2-1
Severity: normal
When downloading a file by right-clicking on a link and choosing "Save
Link As...", Epiphany saves gzipped data to disk if the webserver uses
the gzip content-encoding for sending the file over the network.
Downloading the file by left-clicking on it, or dragging it to a folder
window, works correctly.
Background: if an HTTP response includes the header "Content-Encoding: gzip",
it means that the body of the response is gzipped for the purpose of being
sent over the network, and the receiving user agent (i.e. Epiphany) is
supposed to un-gzip it before doing anything with it. (This is different
from downloading a .gz file, which has nothing to do with the HTTP
Content-Encoding header.)
I observed this problem with the file "openwrt-brcm-2.4-squashfs.trx"
located at <http://downloads.openwrt.org/kamikaze/7.09/brcm-2.4/>. If I
left-click on the file or drag the link to my desktop, I get the correct
..trx file (md5sum 0b708bcc864b768aba88b4b564dab412). If I right-click
on it and "Save Link As...", I get gzipped data (md5sum
930f1178aad407d7bb8a5bfdac4d2c41) which should've been decompressed by
the browser, but wasn't. This leads to confusion and files seeming to
be corrupted -- it's a .trx file, not a .trx.gz file.
I've also seen this happen with other files from other sites; it's not
specific to the OpenWRT files. It seems that any server that uses
"Content-Encoding: gzip" will trigger the problem.
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.22-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages epiphany-browser depends on:
ii epiphany-gecko 2.20.2-1 Intuitive GNOME web browser - Geck
epiphany-browser recommends no packages.
Versions of packages epiphany-gecko depends on:
ii dbus 1.1.2-1 simple interprocess messaging syst
ii epiphany-browser-data 2.20.2-1 Data files for the GNOME web brows
ii gnome-icon-theme 2.20.0-1 GNOME Desktop icon theme
ii iso-codes 1.7-1 ISO language, territory, currency,
ii libart-2.0-2 2.3.19-3 Library of functions for 2D graphi
ii libatk1.0-0 1.20.0-1 The ATK accessibility toolkit
ii libbonobo2-0 2.20.2-1 Bonobo CORBA interfaces library
ii libbonoboui2-0 2.20.0-1 The Bonobo UI library
ii libc6 2.7-5 GNU C Library: Shared libraries
ii libcairo2 1.4.12-2 The Cairo 2D vector graphics libra
ii libdbus-1-3 1.1.2-1 simple interprocess messaging syst
ii libdbus-glib-1-2 0.74-1 simple interprocess messaging syst
ii libenchant1c2a 1.3.0-5 a wrapper library for various spel
ii libffi4 4.2.2-5 Foreign Function Interface library
ii libfontconfig1 2.5.0-2 generic font configuration library
ii libfreetype6 2.3.5-1+b1 FreeType 2 font engine, shared lib
ii libgcc1 1:4.2.2-5 GCC support library
ii libgconf2-4 2.20.1-2 GNOME configuration database syste
ii libglade2-0 1:2.6.2-1 library to load .glade files at ru
ii libglib2.0-0 2.14.4-2 The GLib library of C routines
ii libgnome-desktop-2 2.20.2-1 Utility library for loading .deskt
ii libgnome2-0 2.20.1.1-1 The GNOME 2 library - runtime file
ii libgnomecanvas2-0 2.20.1.1-1 A powerful object-oriented display
ii libgnomeui-0 2.20.1.1-1 The GNOME 2 libraries (User Interf
ii libgnomevfs2-0 1:2.20.1-1 GNOME Virtual File System (runtime
ii libgtk2.0-0 2.12.3-2 The GTK+ graphical user interface
ii libice6 2:1.0.4-1 X11 Inter-Client Exchange library
ii libmozjs0d 1.8.1.11-1 The Mozilla SpiderMonkey JavaScrip
ii libnspr4-0d 4.7.0~1.9b1-2 NetScape Portable Runtime Library
ii liborbit2 1:2.14.7-0.1 libraries for ORBit2 - a CORBA ORB
ii libpango1.0-0 1.18.3-1 Layout and rendering of internatio
ii libpng12-0 1.2.15~beta5-3 PNG library - runtime
ii libpopt0 1.10-3 lib for parsing cmdline parameters
ii libsm6 2:1.0.3-1+b1 X11 Session Management library
ii libstartup-notification 0.9-1 library for program launch feedbac
ii libstdc++6 4.2.2-5 The GNU Standard C++ Library v3
ii libx11-6 2:1.0.3-7 X11 client-side library
ii libxml2 2.6.30.dfsg-3 GNOME XML library
ii libxrender1 1:0.9.4-1 X Rendering Extension client libra
ii libxslt1.1 1.1.22-1 XSLT processing library - runtime
ii libxul0d 1.8.1.11-1 Gecko engine library
ii python2.4 2.4.4-7 An interactive high-level object-o
ii xulrunner-gnome-support 1.8.1.11-1 Support for Gnome in xulrunner app
ii zlib1g 1:1.2.3.3.dfsg-8 compression library - runtime
-- no debconf information
More information about the pkg-gnome-maintainers
mailing list