From 0c2f581d34d28b96eb1b8d4eb53a54c2b4f2c43b Mon Sep 17 00:00:00 2001 From: Svjatoslav Agejenko Date: Sat, 12 Dec 2015 09:24:38 +0200 Subject: [PATCH] fixed links generation for local files --- .../java/eu/svjatoslav/meviz/htmlindexer/FilesystemIndexer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/eu/svjatoslav/meviz/htmlindexer/FilesystemIndexer.java b/src/main/java/eu/svjatoslav/meviz/htmlindexer/FilesystemIndexer.java index d13306c..51d3504 100755 --- a/src/main/java/eu/svjatoslav/meviz/htmlindexer/FilesystemIndexer.java +++ b/src/main/java/eu/svjatoslav/meviz/htmlindexer/FilesystemIndexer.java @@ -120,7 +120,7 @@ public class FilesystemIndexer extends AbstractIndexer { @Override public String getDirectoryUrl(final AbstractFile directory, final IndexingContext context) { - return directory.fileName + "/index.html"; + return Utils.urlEncode(directory.fileName) + "/index.html"; } @Override -- 2.20.1