~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transport/http/wsgi.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2011-02-03 07:59:47 UTC
  • mfrom: (5641.1.1 bzr.dev)
  • Revision ID: pqm@pqm.ubuntu.com-20110203075947-l52516mt7wsqryi7
(vila) Merge 2.3 into trunk including fix for lp:707075. (Max Bowsher)

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
 
23
23
from cStringIO import StringIO
24
24
 
25
 
from bzrlib.smart import medium
 
25
from bzrlib.smart import protocol, medium
26
26
from bzrlib.transport import chroot, get_transport
27
27
from bzrlib.urlutils import local_path_to_url
28
28
 
101
101
            backing_transport.  This is used to interpret relpaths received from
102
102
            the client.
103
103
        """
104
 
        # Use a ChrootServer so that this web application won't
 
104
        # Use a ChrootTransportDecorator so that this web application won't
105
105
        # accidentally let people access locations they shouldn't.
106
106
        # e.g. consider a smart server request for "get /etc/passwd" or
107
107
        # something.