Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Searching for debox.amsterdam throws type error #10

Open
chaos0815 opened this issue Oct 9, 2019 · 1 comment
Open

Searching for debox.amsterdam throws type error #10

chaos0815 opened this issue Oct 9, 2019 · 1 comment

Comments

@chaos0815
Copy link
Contributor

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

@metaregistrar
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants