mirror of
https://github.com/StevenBlack/hosts.git
synced 2024-07-02 18:45:52 +02:00
Review of the domain_to_idna()
notes.
This patch fix : https://github.com/StevenBlack/hosts/pull/520#discussion_r171971574
This commit is contained in:
parent
d06bea8fb8
commit
bebf7744ca
|
@ -1146,7 +1146,7 @@ def domain_to_idna(line):
|
|||
|
||||
Notes
|
||||
-----
|
||||
- This method/function encode only the domain to `idna` format because in
|
||||
- This function encode only the domain to `idna` format because in
|
||||
most cases the encoding issue is due to a domain which looks like
|
||||
`b'\xc9\xa2oogle.com'.decode('idna')`.
|
||||
- About the splitting:
|
||||
|
|
Loading…
Reference in New Issue
Block a user