[Zope3-dev] Re: [Zope3-checkins] SVN: Zope3/trunk/src/zope/testbrowser/ fix bug caused be impedance mis-match between Mechanize and zope.testbrowser

Chris Withers chris at simplistix.co.uk
Thu Dec 8 04:04:16 EST 2005


Benji York wrote:
> +    def _quote(self, url):
> +        # the publisher expects to be able to split on whitespace, so we have
> +        # to make sure there is none in the URL
> +        return url.replace(' ', '%20')

Perhaps we should be using urllib's quote function insteead of this 
class method?

What happens with urls have other dodgy characters in them (?;:, etc)?

cheers,

Chris

-- 
Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk



More information about the Zope3-dev mailing list