reverted change in robotsParser

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@2378 6c8d7289-2bf4-0310-a012-ef5d649a1542
This commit is contained in:
orbiter 2006-08-11 15:29:29 +00:00
parent abf22f6e60
commit cfbacbbf08

View File

@ -282,7 +282,7 @@ public final class robotsParser{
}
}
if (robotsTxt4Host.isDisallowed(nexturl.getPath())) {
if (robotsTxt4Host.isDisallowed(nexturl.getFile())) {
return true;
}
return false;
@ -327,7 +327,7 @@ public final class robotsParser{
}
httpc.response res = con.GET(robotsURL.getPath(), reqHeaders);
httpc.response res = con.GET(robotsURL.getFile(), reqHeaders);
if (res.status.startsWith("2")) {
if (!res.responseHeader.mime().startsWith("text/plain")) {
robotsTxt = null;