diff options
Diffstat (limited to 'bitbake/lib/bb/fetch2/git.py')
-rw-r--r-- | bitbake/lib/bb/fetch2/git.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch2/git.py b/bitbake/lib/bb/fetch2/git.py index 9a15abaa79..a73fb79ac8 100644 --- a/bitbake/lib/bb/fetch2/git.py +++ b/bitbake/lib/bb/fetch2/git.py | |||
@@ -81,6 +81,7 @@ import shlex | |||
81 | import shutil | 81 | import shutil |
82 | import subprocess | 82 | import subprocess |
83 | import tempfile | 83 | import tempfile |
84 | import urllib | ||
84 | import bb | 85 | import bb |
85 | import bb.progress | 86 | import bb.progress |
86 | from contextlib import contextmanager | 87 | from contextlib import contextmanager |
@@ -888,7 +889,7 @@ class Git(FetchMethod): | |||
888 | username = ud.user + '@' | 889 | username = ud.user + '@' |
889 | else: | 890 | else: |
890 | username = "" | 891 | username = "" |
891 | return "%s://%s%s%s" % (ud.proto, username, ud.host, ud.path) | 892 | return "%s://%s%s%s" % (ud.proto, username, ud.host, urllib.parse.quote(ud.path)) |
892 | 893 | ||
893 | def _revision_key(self, ud, d, name): | 894 | def _revision_key(self, ud, d, name): |
894 | """ | 895 | """ |