There's a small change in the data Squid passes to the redirect_program
(the urlgroup is also passed) - the attached tiny patch handles this and
makes SCAVR work with Squid 2.6.

Dave
-- 
** Dave Holland ** Systems Support -- Special Projects Team **
** 01223 496923 ** Sanger Institute, Hinxton, Cambridge, UK **
--- scavr/SquidClamAV_Redirector.py     2006-04-24 08:05:40.000000000 +0100
+++ /usr/local/bin/SquidClamAV_Redirector.py    2007-02-02 12:34:28.000000000 
+0000
@@ -680,7 +680,7 @@
                squidline = strip(squidline)
                #Log.log("Request: %s" % str(squidline))
                try:
-                       url, src_address, ident, method = split(squidline)
+                       url, src_address, ident, method, urlgroup = 
split(squidline)
                except ValueError:
                        continue
                if method == 'POST':    

Reply via email to