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

Handle invalid RDAP response #33

Merged
merged 1 commit into from
Oct 31, 2023

Conversation

mbardelmeijer
Copy link
Contributor

Some RDAP servers return an invalid response, i.e. for instance the .cloud RDAP server currently returns an HTML response.

This PR adds an InvalidRdapResponse exception, as well as a generic RdapException interface.

curl https://rdap.nic.cloud/domain/test.cloud
<a href="/">Found</a>.

@freekmurze freekmurze merged commit d36898f into spatie:main Oct 31, 2023
1 of 17 checks passed
@freekmurze
Copy link
Member

Thanks!

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

Successfully merging this pull request may close these issues.

2 participants