Made .index insdie Maven Repositories browsable
@@ -99,7 +99,7 @@ public abstract class BaseArtifactController
// Do not allow .index and .trash directories (or any other directory starting with ".") to be browseable.
// NB: Files will still be downloadable.
- if (!file.isHidden() && !path.startsWith(".") && !path.contains("/."))
+ if (path.startsWith(".index/") || (!file.isHidden() && !path.startsWith(".") && !path.contains("/.")))
{
if (file.exists() && file.isDirectory())
{
