Bug 164748 - Wrong whois output on .de Domains
Summary: Wrong whois output on .de Domains
Keywords:
Status: CLOSED DUPLICATE of bug 132362
Alias: None
Product: Fedora
Classification: Fedora
Component: jwhois
Version: 4
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Miloslav Trmač
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-07-31 16:17 UTC by Dominik Bay
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-08-01 01:18:15 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Dominik Bay 2005-07-31 16:17:08 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050715 Firefox/1.0.6 SUSE/1.0.6-4.1

Description of problem:
If i type in `jwhois etherkiller.de` i get the wrong whois output:

[Querying http://www.denic.de/en/whois/data.jsp]

   [1]Search  [2]Search
   [3]Sitemap [4]Sitemap
[...]

The correct output starts with:

[Querying whois.denic.de]
[whois.denic.de]
% Copyright (c)2004 by DENIC
% Version: 1.03.3
[...]


Version-Release number of selected component (if applicable):
jwhois-3.2.2-14

How reproducible:
Always

Steps to Reproduce:
1. Type in jwhois denic.de
2.
3.
  

Actual Results:  [Querying http://www.denic.de/en/whois/data.jsp]

   [1]Search  [2]Search
   [3]Sitemap [4]Sitemap
[...]

Expected Results:  [Querying whois.denic.de]
[whois.denic.de]
% Copyright (c)2004 by DENIC
% Version: 1.03.3
[...]


Additional info:

--- /etc/jwhois.conf    2005-04-30 19:47:56.000000000 +0200
+++ /etc/jwhois.conf.new        2005-07-31 20:15:03.000000000 +0200
@@ -180,7 +180,10 @@
        "\\.cx$" = "whois.nic.cx";
        "\\.cy$" = "whois.ripe.net";
        "\\.cz$" = "whois.nic.cz";
-       "\\.de$" = "www.denic.de";
+        "\\.de$" {
+                 whois-server = "whois.denic.de";
+                 query-format = "-C UTF-8 -T dn,ace $*";
+        }
        "\\.dk$" = "whois.dk-hostmaster.dk";
        "\\.do$" = "whois.nic.do";
        "\\.dz$" = "whois.ripe.net";

Comment 1 Miloslav Trmač 2005-08-01 01:18:15 UTC
Thanks for your report.

The proposed change assumes that the program is running with LC_CTYPE
set to a locate using UTF-8; this is in general not the case.
The current configuration allows graceful degradation (e.g. ü -> ue)
if some characters are not supported.

I have written patch to add character set conversion to jwhois, but the maintainer
so far doesn't seem to have time to review it.

*** This bug has been marked as a duplicate of 132362 ***


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