Bug 1098785 - Missing IDNA 2008 support in jwhois
Summary: Missing IDNA 2008 support in jwhois
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: jwhois
Version: rawhide
Hardware: All
OS: All
unspecified
medium
Target Milestone: ---
Assignee: Vitezslav Crhonek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-05-18 14:24 UTC by Robert Scheck
Modified: 2014-06-10 14:37 UTC (History)
2 users (show)

Fixed In Version: jwhois-4.0-35.fc21
Clone Of:
Environment:
Last Closed: 2014-06-10 14:37:18 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
jwhois-4.0-libidn2.patch (2.66 KB, patch)
2014-05-18 14:39 UTC, Robert Scheck
vcrhonek: review+
Details | Diff

Description Robert Scheck 2014-05-18 14:24:43 UTC
Description of problem:
Unfortunately there doesn't seem to be IDNA 2008 support in jwhois:

Version-Release number of selected component (if applicable):
$ jwhois straße.de | grep ^Domain:
Domain: strasse.de
$ 

Uhm? That is IDNA 2003:

$ idn straße.de
strasse.de
$ 

However when using IDNA 2008 it looks a bit different:

$ idn2 straße.de
xn--strae-oqa.de
$ 

$ jwhois xn--strae-oqa.de | grep ^Domain:
Domain: straße.de
$ 

How reproducible:
Everytime, see above and below.

Actual results:
Only IDNA 2003 support: 

$ jwhois straße.de | grep ^Domain:
Domain: strasse.de
$ 

Expected results:
IDNA 2008 support rather IDNA 2003 support:

$ jwhois xn--strae-oqa.de | grep ^Domain:
Domain: straße.de
$

Comment 1 Robert Scheck 2014-05-18 14:39:48 UTC
Created attachment 896779 [details]
jwhois-4.0-libidn2.patch

Vitezslav, may you review that patch? I think it also should make sense
to get this patch upstreamed. I do not think it makes sense to have IDNA
2003 and 2008 support at buildtime thus I replaced it simply.

Comment 2 Vitezslav Crhonek 2014-05-20 13:29:53 UTC
Hello Robert,

the patch looks fine, I'll apply it in Rawhide.

Of course it makes sense to have it upstream, but the upstream is unmaintained currently, see [1]. No commit for ~3 years.

By the way, it seems that users are moving to whois package [2], do you know/use it?

[1] http://savannah.gnu.org/projects/jwhois/
[2] https://github.com/rfc1036/whois

Comment 3 Robert Scheck 2014-05-20 13:55:39 UTC
(In reply to Vitezslav Crhonek from comment #2)
> [1] http://savannah.gnu.org/projects/jwhois/

Last commit is from 2013: http://git.savannah.gnu.org/cgit/jwhois.git

> [2] https://github.com/rfc1036/whois

IMHO that implementation does not have the same feature set.

Comment 4 Vitezslav Crhonek 2014-05-21 11:44:53 UTC
(In reply to Robert Scheck from comment #3)
> (In reply to Vitezslav Crhonek from comment #2)
> > [1] http://savannah.gnu.org/projects/jwhois/
> 
> Last commit is from 2013: http://git.savannah.gnu.org/cgit/jwhois.git

Thanks, I missed that. But it looks like one-time action. Nevertheless, I'll try to contact them.

> 
> > [2] https://github.com/rfc1036/whois
> 
> IMHO that implementation does not have the same feature set.

Comment 5 Robert Scheck 2014-05-21 11:48:20 UTC
Vitezslav, I also will get in touch with upstream and try to get an upstream
maintainer there - given that the new nTLDs will cause a lot of updates - and
I still have a German translation that also didn't make it upstream yet.


Note You need to log in before you can comment on or make changes to this bug.