Skip to content

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

*) bugfix for ViewFile.java. Wrong http header were used

theli2126c51906fe
diff --git a/htroot/ViewFile.java b/htroot/ViewFile.java
index b5bafe5e0..3ae7bff55 100644
--- a/htroot/ViewFile.java
+++ b/htroot/ViewFile.java
@@ -173,7 +173,7 @@ public class ViewFile {
prop.put("viewMode_plainText",content);
} else if (viewMode.equals("parsed") || viewMode.equals("sentences") || viewMode.equals("iframe")) {
// parsing the resource content
- plasmaParserDocument document = sb.snippetCache.parseDocument(url, resource,header);
+ plasmaParserDocument document = sb.snippetCache.parseDocument(url, resource,resHeader);
if (document == null) {
prop.put("error",5);
prop.put("viewMode",VIEW_MODE_NO_TEXT);