metaregistrar / php-epp-client

Object-oriented PHP EPP Client
https://www.metaregistrar.com/docs/
MIT License
209 stars 153 forks source link

IDN Table for Arabic domain #372

Closed cldgo closed 7 months ago

cldgo commented 7 months ago

We received an error message stating, "The idn:table element is missing" when creating Arabic domains in CentralNIC.

CentralNIC suggested this

`

ar españ[ol.example.com](http://ol.example.com/) ` How to enable idn:table element in metaregistrar epp?
metaregistrar commented 7 months ago

The idn:table EPP extension is described in this draft proposal: https://datatracker.ietf.org/doc/html/draft-ietf-eppext-idnmap

Normally when extending php-epp-client with this functionality, you would create an extension with the name "idn-1.0" in the directory Protocols/EPP/eppExtensions. This extension would then append all the idn-1.0 prerequisites to the normal epp commands of eppInfoDomain or eppCreateDomain.

You can look at the other extensions in Protocols/EPP/eppExtensions to see how this would work