mirror of
https://github.com/internetarchive/heritrix3.git
synced 2026-11-16 18:57:01 +00:00
make special "host" "whois:" appear correctly in hosts report
This commit is contained in:
1 parent
4abfcb01b0
commit
77a12e63b8
1 file changed
+1
-1
@@ -35,7 +35,7 @@ import org.archive.modules.net.CrawlHost;
|
||||
public class HostsReport extends Report {
|
||||
|
||||
protected String fixup(String hostName) {
|
||||
if ("dns:".equals(hostName)) {
|
||||
if ("dns:".equals(hostName) || "whois:".equals(hostName)) {
|
||||
return hostName;
|
||||
} else {
|
||||
try {
|
||||
|
||||
Reference in new issue
Block a user