changeset 46907 | ffd3e823a7e5 |
parent 46819 | d4ba4d51f85f |
child 48875 | 6000f5b25c9b |
--- a/mercurial/hgweb/request.py Sun Apr 11 23:54:35 2021 +0200 +++ b/mercurial/hgweb/request.py Mon Apr 12 03:01:04 2021 +0200 @@ -17,6 +17,9 @@ pycompat, util, ) +from ..utils import ( + urlutil, +) class multidict(object): @@ -184,7 +187,7 @@ reponame = env.get(b'REPO_NAME') if altbaseurl: - altbaseurl = util.url(altbaseurl) + altbaseurl = urlutil.url(altbaseurl) # https://www.python.org/dev/peps/pep-0333/#environ-variables defines # the environment variables.