mirror of
https://github.com/yacy/yacy_search_server.git
synced 2025-07-22 09:14:38 -04:00
blacklist entries now checked
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@1426 6c8d7289-2bf4-0310-a012-ef5d649a1542
This commit is contained in:
@ -459,16 +459,23 @@ public class IndexControl_p {
|
||||
}
|
||||
}
|
||||
|
||||
URL url;
|
||||
final Iterator iter = tm.keySet().iterator();
|
||||
result.ensureCapacity((tm.size() + 2) * 384);
|
||||
while (iter.hasNext()) {
|
||||
us = iter.next().toString();
|
||||
uh = (String[]) tm.get(us);
|
||||
if (us.equals(uh[0])) {
|
||||
result.append("<input type=\"checkbox\" name=\"urlhx").append(i++).append("\" checked value=\"").append(uh[0]).append("\" align=\"top\">");
|
||||
result.append("<span class=\"tt\">").append(uh[0]).append(" <unresolved URL Hash></span><br>");
|
||||
result.append("<input type=\"checkbox\" name=\"urlhx").append(i++).append("\" checked value=\"").append(uh[0]).append("\" align=\"top\">")
|
||||
.append("<span class=\"tt\">").append(uh[0]).append(" <unresolved URL Hash></span><br>");
|
||||
|
||||
} else {
|
||||
result.append("<input type=\"checkbox\" name=\"urlhx").append(i++).append("\" value=\"").append(uh[0]).append("\" align=\"top\">");
|
||||
url = new URL(us);
|
||||
if (plasmaSwitchboard.urlBlacklist.isListed(url.getHost().toLowerCase(), url.getPath())) {
|
||||
result.append("<input type=\"checkbox\" name=\"urlhx").append(i++).append("\" checked value=\"").append(uh[0]).append("\" align=\"top\">");
|
||||
} else {
|
||||
result.append("<input type=\"checkbox\" name=\"urlhx").append(i++).append("\" value=\"").append(uh[0]).append("\" align=\"top\">");
|
||||
}
|
||||
result.append("<a href=\"/IndexControl_p.html?").append("keystring=").append(keystring)
|
||||
.append("&keyhash=").append(keyhash).append("&urlhash=").append(uh[0])
|
||||
.append("&urlstringsearch=").append("&urlstring=").append(us).append("\" class=\"tt\">")
|
||||
|
Reference in New Issue
Block a user