From eda0aeaf2676475d4c8e747e34b43677331e743a Mon Sep 17 00:00:00 2001 From: reger Date: Wed, 11 Feb 2015 23:26:39 +0100 Subject: [PATCH] allow/recognize host in file: protocol crawl target This is useful in intranet indexing while crawling a intranet file server accessed via hostname while e.g. under Windows mapped to different drive letters on individual clients. Here you can crawl e.g. file://fileserver/documents having a valid uri in that intranet environment (while e.g. P:/documents might be client dependant). --- .../net/yacy/cora/document/id/MultiProtocolURL.java | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/source/net/yacy/cora/document/id/MultiProtocolURL.java b/source/net/yacy/cora/document/id/MultiProtocolURL.java index 556161305..a085240fa 100644 --- a/source/net/yacy/cora/document/id/MultiProtocolURL.java +++ b/source/net/yacy/cora/document/id/MultiProtocolURL.java @@ -223,7 +223,14 @@ public class MultiProtocolURL implements Serializable, Comparable