~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/urlutils.py

  • Committer: Robert Collins
  • Date: 2006-09-16 06:44:47 UTC
  • mfrom: (2014 +trunk)
  • mto: (2017.1.1 integration)
  • mto: This revision was merged to the branch mainline in revision 2018.
  • Revision ID: robertc@robertcollins.net-20060916064447-99a2987e5485b5ea
Merge from bzr.dev, fixing found bugs handling 'has('/')' in MemoryTransport and SFTP transports.

Show diffs side-by-side

added added

removed removed

Lines of Context:
129
129
        if m:
130
130
            # Absolute URL
131
131
            scheme = m.group('scheme')
 
132
            # this skips .. normalisation, making http://host/../../..
 
133
            # be rather strange.
132
134
            path = m.group('path').split('/')
133
135
        else:
134
136
            for chunk in arg.split('/'):