proper links to directories in repository dirlisting

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@4867 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
lotus 17 years ago
parent e9a3b0f3da
commit b09af53643

@ -471,7 +471,7 @@ public final class httpdFileHandler {
for (int i = 0; i < list.length; i++) {
f = new File(dir, list[i]);
if (f.isDirectory()) {
sb.append(" <li><a href=\"" + path + list[i] + "\">" + list[i] + "/</a><br></li>\n");
sb.append(" <li><a href=\"" + path + list[i] + "/\">" + list[i] + "/</a><br></li>\n");
} else {
if (list[i].endsWith("html") || (list[i].endsWith("htm"))) {
scraper = htmlFilterContentScraper.parseResource(f);

Loading…
Cancel
Save