Fix trivial bug in idna encoding.
This commit is contained in:
parent
00048f0c22
commit
3699582e03
|
@ -8,7 +8,6 @@ dots = re.compile("[\u002E\u3002\uFF0E\uFF61]")
|
|||
|
||||
# IDNA section 5
|
||||
ace_prefix = "xn--"
|
||||
uace_prefix = str(ace_prefix, "ascii")
|
||||
|
||||
# This assumes query strings, so AllowUnassigned is true
|
||||
def nameprep(label):
|
||||
|
|
Loading…
Reference in New Issue