weppos/whois — Issue #151: #query should not be case-sensitive
Author: weppos
Created: 2012-03-05 08:38:33+00:00
State: open
Labels: bug

https://groups.google.com/forum/?fromgroups#!topic/ruby-whois/In2-tJIkLVs

```
$ irb
irb(main):001:0> require 'whois'
=> true
irb(main):002:0> Whois.query('Google.Com') ; nil
Whois::ServerNotFound: Unable to find a WHOIS server for `Google.Com'
from /usr/lib/ruby/gems/1.8/gems/whois-2.3.0/lib/whois/server.rb:
222:in `guess'
from /usr/lib/ruby/gems/1.8/gems/whois-2.3.0/lib/whois/client.rb:
88:in `query'
from /usr/lib/ruby/1.8/timeout.rb:67:in `timeout'
from /usr/lib/ruby/gems/1.8/gems/whois-2.3.0/lib/whois/client.rb:
87:in `query'
from /usr/lib/ruby/gems/1.8/gems/whois-2.3.0/lib/whois.rb:41:in
`query'
from (irb):2
irb(main):003:0> Whois.query('coogle.com') ; nil
=> nil
```

> I can see how the advent of domain names involving characters outside
> the original ASCII charset might complicate the upper/lowercase
> thing.. but this seems downright wrong, since FQDNs and FQHNs are
> defined as case-insensitive.