Package: spikeproxy
Version: 1.4.7-8
Severity: normal
Tags: patch

Hi,

I tried out spikeproxy today and found a small bug in the package.
When you go to http://spike/ the web interface doesn't come up, but you
get this error message:

Error in Spike Proxy UI - No file found: /var/cache/spikeproxy/../index.html


This tiny patch seems to fix the problem:


--- spikeProxyUI.py.orig        2005-03-05 23:27:43.000000000 +0100
+++ spikeProxyUI.py     2005-03-05 23:28:44.000000000 +0100
@@ -439,7 +439,7 @@
         if debug_serveFile:
             print "serving file "+filename
         #strip this last bit off
-        mybase=daveutil.pathjoin(self.cachedir,"..")
+        mybase="/usr/share/spikeproxy"
         realfilename=daveutil.pathjoin(mybase,filename)
         if os.path.isfile(realfilename):
             file=open(realfilename,"r")


Also, it seems there's a slightly newer upstream version available from
http://www.immunitysec.com/downloads/SP148.tgz


HTH, Uwe.
-- 
Uwe Hermann <[EMAIL PROTECTED]>
http://www.hermann-uwe.de                 | http://www.crazy-hacks.org
http://www.it-services-uh.de              | http://www.phpmeat.org
http://www.unmaintained-free-software.org | http://www.holsham-traders.de


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

Reply via email to