Package: elinks
Version: 0.12~pre5-2
Severity: grave
Tags: upstream, patch

I set severity to 'grave' since it can result in data loss: Elinks
will, without warning and despite being instructed not to do so by
the server, show stale rather than current data.  It even caches
local files without checking their mtime!

This behaviour is optional, but is enabled by default. The default
value of document.cache.ignore_cache_control should be changed to 0:

--- a/src/config/options.inc
+++ b/src/config/options.inc
@@ -506,7 +506,7 @@
                "cache instead of asking the server.")),
 
        INIT_OPT_BOOL("document.cache", N_("Ignore cache-control info from 
server"),
-               "ignore_cache_control", 0, 1,
+               "ignore_cache_control", 0, 0,
                N_("Ignore Cache-Control and Pragma server headers. "
                "When set, the document is cached even with 'Cache-Control: "
                "no-cache'.")),
--- END ---

The default setting of document.cache.revalidation_interval (-1) is
also extremely questionable, though it appears that ELinks will at
least revalidate cached documents that have not been loaded during
the current session.

Ben.

-- System Information:
Debian Release: 6.0
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'squeeze-updates'), (100, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages elinks depends on:
ii  elinks-data             0.12~pre5-2      advanced text-mode WWW browser - d
ii  libbz2-1.0              1.0.5-6          high-quality block-sorting file co
ii  libc6                   2.11.2-10        Embedded GNU C Library: Shared lib
ii  libcomerr2              1.41.12-2        common error description library
ii  libexpat1               2.0.1-7          XML parsing C library - runtime li
ii  libfsplib0              0.11-1           FSP v2 protocol stack library - sh
ii  libgnutls26             2.8.6-1          the GNU TLS library - runtime libr
ii  libgpm2                 1.20.4-3.3       General Purpose Mouse - shared lib
ii  libgssapi-krb5-2        1.8.3+dfsg-4     MIT Kerberos runtime libraries - k
ii  libidn11                1.15-2           GNU Libidn library, implementation
ii  libk5crypto3            1.8.3+dfsg-4     MIT Kerberos runtime libraries - C
ii  libkrb5-3               1.8.3+dfsg-4     MIT Kerberos runtime libraries
ii  liblua50                5.0.3-4          Main interpreter library for the L
ii  liblualib50             5.0.3-4          Extension library for the Lua 5.0 
ii  libmozjs2d              1.9.1.16-4       The Mozilla SpiderMonkey JavaScrip
ii  libperl5.10             5.10.1-17        shared Perl library
ii  libruby1.8              1.8.7.302-2      Libraries necessary to run Ruby 1.
ii  libtre5                 0.8.0-2          regexp matching library with appro
ii  zlib1g                  1:1.2.3.4.dfsg-3 compression library - runtime

elinks recommends no packages.

Versions of packages elinks suggests:
pn  elinks-doc                    <none>     (no description available)

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to