Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

the link to the path shall be the path

Michael Christen1cf0f35621e6
diff --git a/htroot/js/yacyinteractive.js b/htroot/js/yacyinteractive.js
index 554d5edb8..21d2d21f1 100644
--- a/htroot/js/yacyinteractive.js
+++ b/htroot/js/yacyinteractive.js
@@ -215,7 +215,7 @@ function resultLine(type, item, linenumber) {
html += "<td align=\"left\">" + linenumber + "</td>";
html += "<td align=\"left\">" + protocol + "</td>";
html += "<td align=\"left\"><a href=\"" + protocol + "://" + host + "/" + "\">" + host + "</a></td>";
- html += "<td align=\"left\"><a href=\"" + item.link + "\">" + path + "</a></td>";
+ html += "<td align=\"left\"><a href=\"" + protocol + "://" + host + "/" + path + "/\">" + path + "</a></td>";
html += "<td align=\"left\"><a href=\"" + item.link + "\">" + title + "</a></td>";
if (item.sizename == "-1 bytes") html += "<td></td>"; else html += "<td align=\"right\">" + item.sizename + "</td>";
//html += "<td>" + item.description + "</td>";