Hi Ian, On 07.11.20 00:22, Ian Eldred Pudney wrote:
This input causes libidn2 to report an error of "domain name longer than 255 characters." However, the punycode domain name is only 146 characters.* Domain name: 髦暩晦晦晦獳獳獳獳獳獳獳獳獳獳獳獳獳獳獳獳獳獳獳獳獳獳獳獳獳獳獳筳獳 싂.퐀쓄쓄쓄쓄쓄쓄쓄쓄쓄쓄쓄쓼쓄쓄쓄쓄쓄쓄쓄쓄쓄㻄쓄쓄럄䄀싂.뼀猀獳獳 獳獳獳獳獳獳獳獳獳獳獳獳獳獳獳獳ⱁ㩁 * Domain name hex codepoints: ['9ae6', '66a9', '6666', '6666', '6666', '7373', '7373', '7373', '7373', '7373', '7373', '7373', '7373', '7373', '7373', '7373', '7373', '7373', '7373', '7373', '7373', '7373', '7373', '7373', '7373', '7373', '7373', '7373', '7373', '7373', '7373', '7373', '7b73', '7373', 'c2c2', '2e', 'd400', 'c4c4', 'c4c4', 'c4c4', 'c4c4', 'c4c4', 'c4c4', 'c4c4', 'c4c4', 'c4c4', 'c4c4', 'c4c4', 'c4fc', 'c4c4', 'c4c4', 'c4c4', 'c4c4', 'c4c4', 'c4c4', 'c4c4', 'c4c4', 'c4c4', '3ec4', 'c4c4', 'c4c4', 'b7c4', '4100', 'c2c2', '2e', 'bf00', '7300', '7373', '7373', '7373', '7373', '7373', '7373', '7373', '7373', '7373', '7373', '7373', '7373', '7373', '7373', '7373', '7373', '7373', '7373', '2c41', '3a41'] * Punycode: xn--lkvaa9xr87caaaaaaaaaaaaaaaaaaaaaaaaaaa7968dcp2n7tvk.xn--p9mx3db62rwgjlncaaaaaaaaaaaaaaaaaaaba41m468u.xn--bfj606ben8bfnaaaaaaaaaaaaaaaaaa79563b
This is indeed a bug, thank you for reporting it. See my fix in https://gitlab.com/libidn/libidn2/-/merge_requests/84. Please feel free to review. Regards, Tim
OpenPGP_0x08302DB6A2670428.asc
Description: application/pgp-keys
OpenPGP_signature
Description: OpenPGP digital signature