When parsing domains(e.g. bbb.aaa.ac.rS with ac.rs public suffix, the results are wrong except the first call. The parsed root is ac.rS instead of aaa.ac.rS)
>> :dep addr
Compiling psl v2.1.106
Compiling addr v0.15.6
>> addr::parse_dns_name("aaa.ac.rS").unwrap().root()
Some("ac.rS")
>> addr::parse_dns_name("aaa.ac.rs").unwrap().root()
Some("aaa.ac.rs")
It appears that addr does not take case insensitivity into account.
Relevant link: https://developers.google.com/speed/public-dns/docs/security?csw=1#randomize_case
When parsing domains(e.g.
bbb.aaa.ac.rSwithac.rspublic suffix, the results are wrong except the first call. The parsed root isac.rSinstead ofaaa.ac.rS)It appears that
addrdoes not take case insensitivity into account.Relevant link: https://developers.google.com/speed/public-dns/docs/security?csw=1#randomize_case