rdap-client icon indicating copy to clipboard operation
rdap-client copied to clipboard

Searching for debox.amsterdam throws type error

Open chaos0815 opened this issue 5 years ago • 1 comments

TypeError: Argument 1 passed to Metaregistrar\RDAP\Data\RdapVcard::__construct(xxxxxxx) must be of the type string, null given

Hi Ewout, can you confirm that the vCard returned from the registry is not of the expected format? Is this wrongly implemented by the registry, or can the vCard come in different flavours?

Problem occurrs in src/Data/RdapEntity.php:51

chaos0815 avatar Oct 09 '19 06:10 chaos0815

I have not delved into the RDAP protocol so much as to know by heart if the format that the .amsterdam RDAP returns is correct or not. For now, I have added some extra variable checks and balances to make sure the code does not crash. Since we are also responsible for .amsterdam as a registry, I will look into this further to see if the RDAP for .amsterdam is correct or not.

metaregistrar avatar Oct 09 '19 07:10 metaregistrar