##// END OF EJS Templates
httpconnection: convert url to bytes in readauthforuri...
Augie Fackler -
r36669:6b1eb4c6 default
parent child Browse files
Show More
@@ -14,6 +14,7 b' import os'
14
14
15 from .i18n import _
15 from .i18n import _
16 from . import (
16 from . import (
17 pycompat,
17 util,
18 util,
18 )
19 )
19
20
@@ -62,6 +63,7 b' class httpsendfile(object):'
62
63
63 # moved here from url.py to avoid a cycle
64 # moved here from url.py to avoid a cycle
64 def readauthforuri(ui, uri, user):
65 def readauthforuri(ui, uri, user):
66 uri = pycompat.bytesurl(uri)
65 # Read configuration
67 # Read configuration
66 groups = {}
68 groups = {}
67 for key, val in ui.configitems('auth'):
69 for key, val in ui.configitems('auth'):
General Comments 0
You need to be logged in to leave comments. Login now