Package: dillo
Version: 3.0-1
Severity: important

Dear Maintainer,

By default, Dillo 3.0 does not follow HTTP redirects between second level
domains (foo.com -> bar.com), which breaks URL shorteners and many web
sites. This is controlled by the configuration option "filter_auto_requests"
and defaults to "same_domain".

I've attached two patches. The first modifies the source to "allow_all" by
default and the commented entry in the rc file; the second modifies the rc
file to "allow_all" by default. The first patch is preferable so that

1) the source code defaults match the shipped rc file

2) users who have an existing ~/.dillo/dillorc (and ignore the global
   dillorc) will receive the proper default of "allow_all" if they lack a
   "filter_auto_requests" entry 

-Lachlan (this is a resend, it left my MTA but never reached the bug logs)

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 3.0.0-1-486
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages dillo depends on:
ii  libc6        2.13-18         
ii  libfltk1.3   1.3.0-5         
ii  libgcc1      1:4.6.1-4       
ii  libjpeg8     8c-2            
ii  libpng12-0   1.2.46-3        
ii  libssl1.0.0  1.0.0e-2        
ii  libstdc++6   4.6.1-4         
ii  libx11-6     2:1.4.4-1       
ii  wget         1.13-1          
ii  zlib1g       1:1.2.3.4.dfsg-3

dillo recommends no packages.

dillo suggests no packages.

-- no debconf information
--- dillo-3.0/dillorc	2011-09-21 15:38:16.664618360 -0400
+++ dillo-3.0/dillorc	2011-09-21 18:21:26.000000000 -0400
@@ -31,7 +31,7 @@
 # allow_all
 # same_domain : Permit www.example.org to load an image from img.example.org,
 #               but not from the unrelated ad.doubleclick.net.
-#filter_auto_requests=same_domain
+#filter_auto_requests=allow_all
 
 # Change the buffering scheme for drawing
 # 0 no double buffering - useful for debugging
--- dillo-3.0/src/prefs.c	2011-09-21 18:52:17.000000000 -0400
+++ dillo-3.0/src/prefs.c	2011-09-21 18:52:54.000000000 -0400
@@ -40,7 +40,7 @@
    prefs.buffered_drawing = 1;
    prefs.contrast_visited_color = TRUE;
    prefs.enterpress_forces_submit = FALSE;
-   prefs.filter_auto_requests = PREFS_FILTER_SAME_DOMAIN;
+   prefs.filter_auto_requests = PREFS_FILTER_ALLOW_ALL;
    prefs.focus_new_tab = TRUE;
    prefs.font_cursive = dStrdup(PREFS_FONT_CURSIVE);
    prefs.font_factor = 1.0;
--- dillo/dillorc	2011-09-21 15:38:16.664618360 -0400
+++ dillo/dillorc	2011-09-21 15:38:42.000000000 -0400
@@ -31,7 +31,7 @@
 # allow_all
 # same_domain : Permit www.example.org to load an image from img.example.org,
 #               but not from the unrelated ad.doubleclick.net.
-#filter_auto_requests=same_domain
+filter_auto_requests=allow_all
 
 # Change the buffering scheme for drawing
 # 0 no double buffering - useful for debugging

Reply via email to