Comments (7)
Looks like idn2_lookup_ul() really normalizes non-domains, so I will need to restructure the code to support libidn2, but this will take some time.
Cc @rockdaboot
from whois.
Not sure what the problem is. Could you give an example ? Maybe I can give you helping hand.
from whois.
Just query something with a / in it, e.g.:
whois --verbose 193.0.0.0/21
You will see that the / will be removed.
from whois.
That is a TR46 preprocessing thing. And you are right, if something is a domain or not (e.g. IP or network address) currently isn't handled by libidn2. So the application has to decide.
But we (at libidn2) would discuss to check for standard non-domains in the API. Please open an issue at https://gitlab.com/jas/libidn2/issues with a reference to this issue here.
Just for the record, the described behavior can be reproduced by:
$ idn2 -T 193.0.0.0/21
193.0.0.021
from whois.
So that do you think about #53? Tests fine for all my test cases.
from whois.
You got my
from whois.
So indeed with libidn2 2.0.3 the problems are gone:
make clean; make all HAVE_LIBIDN2=1
./whois -h whois.ripe.net 193.0.0.0/21
./whois 2001:67c:2178:8::1
So neither d6e33ff nor 1e6a7b3 are required to fix CIDR notation queries, and the fix is in libidn2. So I think this can be closed.
from whois.
Related Issues (20)
- mkpasswd: it seems it is not possible to pass a salt when using yescrypt method HOT 1
- .sd domain's whois server HOT 1
- Class B 150.230.0.0 gives wrong answer HOT 1
- Add .pk WHOIS server whois.pknic.net.pk HOT 1
- Wrong salt length: [0-9]+ bytes when 0 expected. HOT 6
- How many newGTLDs are managed by thin registries? HOT 3
- Wrong whois server for 154.6.204.0/22 HOT 4
- do we have any document to compile this client side code? getting error if i just Make HOT 1
- The ip_del_list file has old information HOT 3
- What's going wrong here? HOT 2
- nic.ch queries issue HOT 2
- "Registrar WHOIS Server" not being used HOT 3
- memleak HOT 1
- xxxx.co HOT 2
- exit code 1 HOT 4
- APNIC IP inter RIR transfert not properly handled HOT 5
- Skip registrar query option HOT 2
- What do I need to do to get whois working in chroot? HOT 1
- Wrong exit code for .io domain HOT 1
- whois "-r" option FAILs to disable role recursion query, instead invokes RIPE db query, like BSD whois HOT 5
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 whois.