From ce620be78311d85ce67d78bad3d66522bd8692aa Mon Sep 17 00:00:00 2001 From: Michael Peter Christen Date: Thu, 19 Jan 2012 23:07:15 +0100 Subject: [PATCH] for for crawl start with smb url --- htroot/api/getpageinfo_p.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htroot/api/getpageinfo_p.java b/htroot/api/getpageinfo_p.java index e0c078dc4..9a99c21d3 100644 --- a/htroot/api/getpageinfo_p.java +++ b/htroot/api/getpageinfo_p.java @@ -130,7 +130,7 @@ public class getpageinfo_p { Log.logException(e); } prop.put("robots-allowed", robotsEntry == null ? 1 : robotsEntry.isDisallowed(theURL) ? 0 : 1); - prop.putHTML("robotsInfo", robotsEntry.getInfo()); + prop.putHTML("robotsInfo", robotsEntry == null ? "" : robotsEntry.getInfo()); // get the sitemap URL of the domain final MultiProtocolURI sitemapURL = robotsEntry == null ? null : robotsEntry.getSitemap();