X-Git-Url: http://www2.svjatoslav.eu/gitweb/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Feu%2Fsvjatoslav%2Fmeviz%2Fhtmlindexer%2FWebIndexer.java;h=6530e70c03aac885d6233cccad849ebf896051c8;hb=dd6a4d4e4dd46ca95be11ae91c633d69f085472c;hp=199f789e3dc517d087b1ec9107eb9e6930ca96c6;hpb=cae31cf3d6924dfbd3fe73a6f0f954b01d96bea2;p=meviz.git diff --git a/src/main/java/eu/svjatoslav/meviz/htmlindexer/WebIndexer.java b/src/main/java/eu/svjatoslav/meviz/htmlindexer/WebIndexer.java index 199f789..6530e70 100644 --- a/src/main/java/eu/svjatoslav/meviz/htmlindexer/WebIndexer.java +++ b/src/main/java/eu/svjatoslav/meviz/htmlindexer/WebIndexer.java @@ -35,6 +35,9 @@ public class WebIndexer extends AbstractIndexer { public String getHtml(String requestPath) throws MalformedURLException, IOException, ClassNotFoundException { + if (requestPath == null) + requestPath = ""; + if (requestPath.equals("/")) requestPath = "";