Comment 5 for bug 496721

Revision history for this message
Jelmer Vernooij (jelmer) wrote :

- ret = subvertpy.ra.RemoteAccess(url, auth=auth,
+ ret = subvertpy.ra.RemoteAccess(urllib.quote(url.encode('utf8'), '/:'), auth=auth,

You added an additional .encode('utf8') there.

If you could add a unit test that made sure that URLs with spaces in them worked, that would be great. Such a test would probably belong in tests/test_transport.py.