Mercurial > kallithea
changeset 8293:75e2d061385a
vcs: fix validation of Git https URLs (Issue #365)
Fix py3 migration bug.
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Thu, 12 Mar 2020 17:06:56 +0100 |
parents | f83326e2e66c |
children | 38a833e742ea |
files | kallithea/lib/vcs/backends/git/repository.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/kallithea/lib/vcs/backends/git/repository.py Fri Mar 06 18:10:02 2020 +0100 +++ b/kallithea/lib/vcs/backends/git/repository.py Thu Mar 12 17:06:56 2020 +0100 @@ -190,7 +190,7 @@ req = urllib.request.Request( "%s?%s" % ( - test_uri, + safe_str(test_uri), urllib.parse.urlencode({"service": 'git-upload-pack'}) ))