Package: adzapper
Version: 20050106-1
Severity: normal
Tags: patch
Printer-friendly redirection doesn't occur. Config option STUBURL_PRINT=1
has been set in /etc/adzapper.conf, Squid restarted. Using example URL:
http://www.theregister.co.uk/2005/02/25/bofh_2005_episode_7/
A little investigation reveals that STUBURL_PRINT is not exported from
/usr/bin/adzapper.wrapper, patch (tested OK with above URL) is as follows:
--- adzapper.wrapper.old Tue Mar 1 10:17:52 2005
+++ adzapper.wrapper.new Tue Mar 1 10:35:25 2005
@@ -25,7 +25,7 @@
export ZAP_MODE ZAP_BASE ZAP_BASE_SSL ZAP_PREMATCH ZAP_POSTMATCH
export STUBURL_AD STUBURL_ADSSL STUBURL_ADJS STUBURL_ADHTML STUBURL_ADMP3 \
STUBURL_ADPOPUP STUBURL_ADSWF STUBURL_COUNTER STUBURL_COUNTERJS \
- STUBURL_WEBBUG STUBURL_WEBBUGJS
+ STUBURL_WEBBUG STUBURL_WEBBUGJS STUBURL_PRINT
# Here, having arranged the environment, we exec the real zapper:
-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux ajj 2.4.18-bf2.4 #1 Son Apr 14 09:53:28 CEST 2002 i586
Locale: LANG=C, LC_CTYPE=C
Versions of packages adzapper depends on:
ii perl 5.6.1-8.8 Larry Wall's Practical Extraction
ii squid 2.4.6-2woody7 Internet Object Cache (WWW proxy c
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]