Bug 1098785

Summary: Missing IDNA 2008 support in jwhois
Product: [Fedora] Fedora Reporter: Robert Scheck <redhat-bugzilla>
Component: jwhoisAssignee: Vitezslav Crhonek <vcrhonek>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: redhat-bugzilla, vcrhonek
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: jwhois-4.0-35.fc21 Doc Type: Bug Fix
Doc Text:
Cause: Consequence: Fix: http://git.savannah.gnu.org/cgit/jwhois.git Result:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-10 14:37:18 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
jwhois-4.0-libidn2.patch vcrhonek: review+

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.