Comments (2)
Thanks for the issue. I didn't really expect the IANA to add RDAP endpoints over HTTP but I guess they have. I've patched this in the above commit so it will silently skip insecure endpoints but emit a debug log. If you need to query objects from insecure RDAP endpoints (for example in this issue, .uz
/ Uzbekistanian domains) you can bootstrap with whoisit.bootstrap(allow_insecure=True)
to enable them (defaults to False
). I'll roll this patch up into a new 2.6.0 release shortly.
Edit: whoisit 2.6.0 is now available on PyPI containing this fix.
from whoisit.
I dug into it a bit more and see that the only protocol that is permitted to be used is https. If I override the PERMITTED_RDAP_PROTOCOLS variable in the Bootstrap class, I can get it to work. For example:
whoisit._bootstrap.PERMITTED_RDAP_PROTOCOLS = ( 'http', 'https')
Would it be possible to expose this through a method?
from whoisit.
Related Issues (20)
- Some rdap servers seem to exhibit weak security, which throws errors HOT 2
- Parsing of address, telephone and individual name ("n") field HOT 8
- IP address lookup returns only the first CIDR on the list HOT 3
- whoisit does not find the RDAP endpoint for UK domains HOT 4
- Mutable defaults parameters en request wrapper HOT 1
- Failure when sld require different url than tld HOT 7
- Implement an async mode HOT 3
- Issue with urllib3 using requests 2.31.0 HOT 5
- urllib3 2.x complains about DEFAULT_CIPHERS HOT 5
- Benchmarking whoisit against registrant name HOT 5
- Can the route information be returned when using whois + IP? HOT 4
- Follow related links HOT 3
- Feature Request: Add support for unicodeName HOT 4
- Exception 'AttributeError' raise for some domains HOT 3
- RDAP server connection error handling (for discussion) HOT 6
- notice returns as dict HOT 2
- Feature request: Releases HOT 3
- domain entity: handle requirement HOT 5
- setup.py itself depends on python-dateutil HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from whoisit.