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

%referral and rwhois urls are not handled by getServer() #49

Closed
gavincarr opened this issue Oct 14, 2024 · 1 comment
Closed

%referral and rwhois urls are not handled by getServer() #49

gavincarr opened this issue Oct 14, 2024 · 1 comment

Comments

@gavincarr
Copy link
Contributor

The whois server at rwhois.shawcable.net:4321 returns a referral response for ip 174.0.0.1 that looks like this:

%rwhois V-1.5:003fff:00 rs1so.cg.shawcable.net (by Network Solutions, Inc. V-1.5.9.5)
%referral rwhois://root.rwhois.net:4321/auth-area=.
%ok

There are a couple of issues here:

  1. The %referral syntax isn't handled by getServer()

  2. The server/port extraction code in getServer() assumes everything after the scheme is a server[:port], so we end up with port having the non-numeric url path attached.

PR fixing these issues to follow. Thanks!

@likexian
Copy link
Owner

Hello @gavincarr
Thanks for your works.


If you think this repository is helpful, please share it with friends, 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

No branches or pull requests

2 participants