Thanks for the fix. I just checked it into CVS.
I'm cc'ing David Casti because this method is used by PSP's include
functionality, so David may want to try this fix to see if it solves his
problem with mod_webkit and psp includes.
> -----Original Message-----
> From: Fabio Forno [mailto:f.forno@...]
> Sent: Monday, April 22, 2002 7:54 AM
> To: webware-discuss@...
> Subject: [Webware-discuss] HTTPRequest.urlPathDir()
> in this method there should be a little bug in the code stripping the
> last part of the path:
> path = path[:string.rfind("/", path)+1]
> insted of the correct:
> path = path[:string.rfind(path, "/")+1]
> Fabio Forno - PhD Student
> Politecnico di Torino - Dip. Automatica ed Informatica
> C.so Duca degli Abruzzi 24 - 10129 Torino (Italy)
> Webware-discuss mailing list