registrobr / whmcs-registrobr-epp

WHMCS Registrar Module for interfacing to Registro.br EPP
GNU General Public License v3.0
41 stars 21 forks source link

WHMCS may be using wrong Unicode - IDNA conversion rules #71

Open rubenskuhl opened 7 years ago

rubenskuhl commented 7 years ago

There was at least one reported issue with wrong IDNA conversion, by using Upper case IDNs. Explore using new IDN/Unicode functions to correct that and force lowercase on both ASCII and IDN domains.

rubenskuhl commented 7 years ago

RFCs only allows small case letters in domain names, either in ASCII or Unicode:

https://tools.ietf.org/html/rfc5892#appendix-B.1

rubenskuhl commented 1 year ago

IDN code probably needs complete refactoring to use new features in WHMCS and PHP.