Commit b9ec5c50 authored by Guido van Rossum's avatar Guido van Rossum

Fix trivial bug in idna encoding.

parent 05ea61ef
...@@ -8,7 +8,6 @@ dots = re.compile("[\u002E\u3002\uFF0E\uFF61]") ...@@ -8,7 +8,6 @@ dots = re.compile("[\u002E\u3002\uFF0E\uFF61]")
# IDNA section 5 # IDNA section 5
ace_prefix = "xn--" ace_prefix = "xn--"
uace_prefix = str(ace_prefix, "ascii")
# This assumes query strings, so AllowUnassigned is true # This assumes query strings, so AllowUnassigned is true
def nameprep(label): 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