allow crawl start from pages with script tags

http://forum.yacy-websuche.de/viewtopic.php?f=5&t=1910

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@5702 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
lotus 16 years ago
parent 6958eff196
commit f35dc11dc4

@ -382,7 +382,7 @@ public final class httpdFileHandler {
String val;
while (e.hasNext()) {
val = e.next();
if ((val != null) && (val.indexOf("<script") >= 0)) {
if ((val != null) && (val.indexOf("<script") >= 0) && !path.equals("/WatchCrawler_p.html")) {
// deny request
httpd.sendRespondError(conProp,out,4,403,null,"bad post values",null);
return;

Loading…
Cancel
Save