> At 11:58 AM 6/28/2001 +0100, David O'Callaghan wrote:
> >I can't seem to track down where slashes are being added...
> >
> >Any thoughts on this?
>
> Someone else reported this after Robin Dunn's MakeAppWorkDir mods, also
> claiming that the problem did not exist prior to that.
>
Well I know where this is happening now: it's in the
handleDeficientDirectoryURL
method of the Application class. I'm at a loss as to how I could fix this
without
breaking the rest of the code.
A simple modification is to change this:
uri[0] = uri[0] + '/'
into this:
if not uri[0][-1] == '/':
uri[0] = uri[0] + '/'
But this just puts the system into an endless loop, constantly redirecting
to
the same page (as opposed to adding a '/' each time).
Regards,
David O'Callaghan
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/webware-discuss