~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/smart/request.py

(andrew) Handle unicode paths correctly in the smart server. (#458762)

Show diffs side-by-side

added added

removed removed

Lines of Context:
188
188
            relpath = urlutils.joinpath('/', path)
189
189
            if not relpath.startswith('/'):
190
190
                raise ValueError(relpath)
191
 
            return '.' + relpath
 
191
            return urlutils.escape('.' + relpath)
192
192
        else:
193
193
            raise errors.PathNotChild(client_path, self._root_client_path)
194
194