whois/whois-5.2.6-Remove-bogus-hide_strings-entry.patch

33 lines
1.0 KiB
Diff
Raw Normal View History

2015-03-24 16:23:47 +00:00
From b41ad469f975f274c2f2e0716241467ff495ff2b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
Date: Tue, 24 Mar 2015 17:13:05 +0100
Subject: [PATCH] Remove bogus hide_strings[] entry
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
The empty starting string matched always and the final NULL string
enabled hiding to the end of the response.
As a result any response got hidden.
<https://github.com/rfc1036/whois/issues/27>
Signed-off-by: Petr Písař <ppisar@redhat.com>
diff --git a/data.h b/data.h
index 402fce5..e5c7b01 100644
--- a/data.h
+++ b/data.h
@@ -72,7 +72,6 @@ const char *hide_strings[] = {
"TERMS OF USE: The information in the Whois database", NULL, /* .wang */
"The WHOIS service offered by Neustar, Inc, on behalf", NULL,
"The WHOIS service offered by the Registry Operator", NULL, /* .science */
- "", NULL,
/* ccTLDs */
"Access to CCTLD WHOIS information is provided", "", /* Afilias */
--
2.1.0