Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
*) Bugfix for not parsable application/xhtml+xml resources if an URL has no extension See: http://www.yacy-forum.de/viewtopic.php?p=23687
theli24a02cbeef2a
diff --git a/source/de/anomic/plasma/plasmaParserConfig.java b/source/de/anomic/plasma/plasmaParserConfig.javaindex 7c5bdc5d4..9724d533a 100644--- a/source/de/anomic/plasma/plasmaParserConfig.java+++ b/source/de/anomic/plasma/plasmaParserConfig.java@@ -45,11 +45,14 @@ public class plasmaParserConfig {// TODO: we need some exceptions here to index URLs like this// http://www.musicabona.com/respighi/12668/cd/index.html.frmimeType = plasmaParser.getRealMimeType(mimeType);- if (mimeType.equals("text/html")) {+ if (+ mimeType.equals("text/html") ||+ mimeType.equals("application/xhtml+xml") ||+ mimeType.equals("text/plain")+ ) {return supportedMimeTypesContains(mimeType);- } else {- return supportedMimeTypesContains(mimeType) && supportedFileExt(url);}+ return supportedMimeTypesContains(mimeType) && supportedFileExt(url);}public boolean supportedMimeTypesContains(String mimeType) {