-
Notifications
You must be signed in to change notification settings - Fork 20
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
Update RIR links and remove sanitized ampersands #15
Conversation
QEDK
commented
Apr 24, 2020
- Remove breaking sanitized ampersands
- AFRINIC WHOIS web UI is now replaced and only works with POST
- RIPE has a new pathway
* Remove breaking sanitized ampersands * AFRINIC WHOIS web UI is now replaced and only works with POST * RIPE has a new pathway
public_html/gateway.py
Outdated
'RIPENCC': 'https://apps.db.ripe.net/search/query.html?searchtext={0}#resultsAnchor', | ||
'AFRINIC': 'http://afrinic.net/cgi-bin/whois?searchtext={0}', | ||
'RIPENCC': 'https://apps.db.ripe.net/db-web-ui/query?searchtext={0}', | ||
'AFRINIC': 'https://www.afrinic.net/whois-web/public/?lang=en', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe the user is supposed to paste the IP into the AFRINIC form manually with this. I'd like to see the instruction somewhere explicitly. Maybe in the link anchor or in the tooltip. We might want to skip AFRINIC in the "Location:" redirection, too.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed it to RDAP, provides the same information, just ugly.
@@ -20,7 +20,7 @@ | |||
PROVIDERS = { | |||
'ARIN': 'https://whois.arin.net/rest/ip/{0}', | |||
'RIPENCC': 'https://apps.db.ripe.net/db-web-ui/query?searchtext={0}', | |||
'AFRINIC': 'https://www.afrinic.net/whois-web/public/?lang=en', | |||
'AFRINIC': 'https://rdap.afrinic.net/rdap/ip/{0}', | |||
'APNIC': 'https://wq.apnic.net/apnic-bin/whois.pl?searchtext={0}', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great find. 👍