summaryrefslogtreecommitdiffstats
path: root/subcmds/download.py
diff options
context:
space:
mode:
authorConley Owens <cco3@android.com>2014-01-31 15:03:51 -0800
committerConley Owens <cco3@android.com>2014-01-31 16:06:31 -0800
commit2d0f508648a1e7c073bc897b645a43ee37ff2a40 (patch)
tree3733b3c81b59e0bb5e3c93770233476f2ff2bb73 /subcmds/download.py
parent5db69f3f6616ea199a7840f0602b988f8d5504b9 (diff)
downloadgit-repo-2d0f508648a1e7c073bc897b645a43ee37ff2a40.tar.gz
Fix persistent-https relative url resolving
Previously, we would remove 'persistent-' then tack it on at the end if it had been previously found. However, this would ignore urljoin's decision on whether or not the second path was relative. Instead, we were always assuming it was relative and that we didn't want to use a different absolute url with a different protocol. This change handles persistent-https:// in the same way we handled the absense of an explicit protocol. The only difference is that this time instead of temporarily replacing it with 'gopher://', we use 'wais://'. Change-Id: I6e8ad1eb4b911931a991481717f1ade01315db2a
Diffstat (limited to 'subcmds/download.py')
0 files changed, 0 insertions, 0 deletions