mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Fix trivial bug in idna encoding.
This commit is contained in:
parent
00048f0c22
commit
3699582e03
1 changed files with 0 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue