Package: squid Version: 2.7.STABLE3-4.1 Severity: normal When configuring squid with the error_map directive, as in: error_map http://localserver/404.html 404 Some 404s cause encoding issues. These are reported differently for different browsers. Firefox: Content Encoding Error. The page you are trying to view cannot be shown because it uses an invalid or unsupported form of compression. links: Error decompressing [URL] with zlib: incorrect header check
I checked the headers to compare a page that works with one that doesn't. The pages that don't work always have the header Vary: Accept-Encoding but no encoding type is provided. The issue seems to be that the headers are being preserved from the target site, but the content is coming from my local 404 page. error_map should probably return headers from the local server to avoid these kinds of issues (I can't configure my server to return every possible header that might be out there) (although to be fair, this is the only one I've seen throw an error). -- System Information: Debian Release: 5.0.3 APT prefers stable APT policy: (500, 'stable') Architecture: i386 (i686) Kernel: Linux 2.6.26-2-686 (SMP w/1 CPU core) 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 squid depends on: ii adduser 3.110 add and remove users and groups ii debconf [debcon 1.5.24 Debian configuration management sy ii libc6 2.7-18lenny4 GNU C Library: Shared libraries ii libcomerr2 1.41.3-1 common error description library ii libdb4.6 4.6.21-11 Berkeley v4.6 Database Libraries [ ii libkrb53 1.6.dfsg.4~beta1-5lenny4 MIT Kerberos runtime libraries ii libldap-2.4-2 2.4.11-1 OpenLDAP libraries ii libpam0g 1.0.1-5+lenny1 Pluggable Authentication Modules l ii logrotate 3.7.1-5 Log rotation utility ii lsb-base 3.2-20 Linux Standard Base 3.2 init scrip ii netbase 4.34 Basic TCP/IP networking system pn squid-common <none> (no description available) squid recommends no packages. Versions of packages squid suggests: pn logcheck-database <none> (no description available) pn resolvconf <none> (no description available) ii smbclient 2:3.2.5-4lenny7 a LanManager-like simple client fo pn squid-cgi <none> (no description available) pn squidclient <none> (no description available) pn winbind <none> (no description available) -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

