fixed path construction for ordinary images
authorSvjatoslav Agejenko <n0@n0-Aspire-8920.(none)>
Sun, 3 Feb 2013 18:14:12 +0000 (20:14 +0200)
committerSvjatoslav Agejenko <n0@n0-Aspire-8920.(none)>
Sun, 3 Feb 2013 18:14:12 +0000 (20:14 +0200)
src/main/java/eu/svjatoslav/meviz/htmlindexer/layouts/MixedLayout.java

index 96f498e..29e5b00 100755 (executable)
@@ -78,7 +78,7 @@ public class MixedLayout implements Layout {
                                + String.valueOf(horizontalColumnsLimit)
                                + "\"><a href=\""
                                + indexingContext.getGlobalUrl()
-                               + UrlParamEncoder.encode(indexingContext.getLocalUrl()
+                               + UrlParamEncoder.encode(indexingContext.getLocalUrl() + "/"
                                                + fullFileName) + "\">" + fullFileName + "</a>\n");
                filesHtml.append("&nbsp;&nbsp;("
                                + FilePathParser.getFileSizeDescription(file.getFileLength())