[Buildbot-devel] Firefox problems

Dustin J. Mitchell dustin at zmanda.com
Thu Sep 20 15:31:01 UTC 2007


Found the problem -- thanks for the logging tips!

I was using:

    def render(self, request):
        if self.addSlash and request.prePathURL()[-1] != '/':
            request.redirect(request.prePathURL() + '/')
            request.finish()

(based on various snippets I found on mailing lists -- the only real
Twisted documentation) when I should have been using:

    def render(self, request):
        if self.addSlash and request.prePathURL()[-1] != '/':
            request.redirect(request.prePathURL() + '/')
            return ''

Odd that the error only turned up when using Firefox via apache
mod_proxy, but there you are.

Dustin

-- 
Storage Software Engineer
http://www.zmanda.com




More information about the devel mailing list