On Sat, Oct 05, 2024 at 01:05:04PM +0000, Slavko via mailop wrote: > + both are able to use underscored labels (eg. _dmarc), in contrast > of idna library, which rejects that domain name with invalid char
The ICU library encodes domain names that consist of valid U-labels and NR-LDH labels to A-labels, labels starting with "_" are neither U-labels, nor NR-LDH labels, so should not be passed to the ICU library, or in any case will report an error. If you want to convert the suffix of an "attrleaf" name to A-labels, you have to strip the prefix, and then put it back. -- Viktor. _______________________________________________ mailop mailing list mailop@mailop.org https://list.mailop.org/listinfo/mailop