~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Patch Queue Manager
  • Date: 2016-02-01 19:56:05 UTC
  • mfrom: (6615.1.1 trunk)
  • Revision ID: pqm@pqm.ubuntu.com-20160201195605-o7rl92wf6uyum3fk
(vila) Open trunk again as 2.8b1 (Vincent Ladeuil)

Show diffs side-by-side

added added

removed removed

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