Package: jesred
Version: 1.2pl1-11
Severity: grave
Tags: patch
Justification: renders package unusable


Jesred does not work with latest squid (from testing or unstable), because
it does not understand new-formatted redirector input:
URL <SP> client_ip "/" fqdn <SP> user <SP> method <SP> urlgroup <NL>
Jesred expects old-formatted redirector input:
URL <SP> client_ip "/" fqdn <SP> user <SP> method <NL>

The following patch fixes the problem:

--- jesred-1.2pl1/rewrite.c.save        2006-08-08 09:39:51.389992567 +0400
+++ jesred-1.2pl1/rewrite.c     2006-08-08 09:47:12.950500166 +0400
@@ -91,6 +91,8 @@
                if (new_token) {
                    c++;
                    *new_token = '\0';
+                   new_token = strchr(token,' ');
+                   *new_token = '\0';
                    end[3] = new_token;
                    *method = token;
                }

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (999, 'testing'), (150, 'unstable'), (50, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-2-686
Locale: LANG=, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)

Versions of packages jesred depends on:
ii  libc6                         2.3.6-15   GNU C Library: Shared libraries
ii  squid                         2.6.1-3    Internet Object Cache (WWW proxy c

Versions of packages jesred recommends:
ii  apache2-mpm-prefork [httpd]   2.0.55-4   traditional model for Apache2

-- no debconf information

-- 
Regards,
        Sasha.
Alexandra N. Kossovsky, software engineer.
e-mail: [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to