Kaydet (Commit) 3699582e authored tarafından Guido van Rossum's avatar Guido van Rossum

Fix trivial bug in idna encoding.

üst 00048f0c
......@@ -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):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment