mirror of
https://github.com/StevenBlack/hosts.git
synced 2024-07-07 13:02:27 +02:00
Review of Notes indentation
This patch fix : https://github.com/StevenBlack/hosts/pull/520#discussion_r171971481 + It also fix (forgoten coma) : https://github.com/StevenBlack/hosts/pull/520#discussion_r171971574
This commit is contained in:
parent
bebf7744ca
commit
6e62383b28
@ -1147,7 +1147,7 @@ def domain_to_idna(line):
|
|||||||
Notes
|
Notes
|
||||||
-----
|
-----
|
||||||
- This 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
|
most cases, the encoding issue is due to a domain which looks like
|
||||||
`b'\xc9\xa2oogle.com'.decode('idna')`.
|
`b'\xc9\xa2oogle.com'.decode('idna')`.
|
||||||
- About the splitting:
|
- About the splitting:
|
||||||
We split because we only want to encode the domain and not the full
|
We split because we only want to encode the domain and not the full
|
||||||
|
Loading…
Reference in New Issue
Block a user