James Moger
2015-10-05 548b29e87dedac76bad2011cda4e39a9f3d72a21
src/main/java/com/gitblit/utils/FileUtils.java
@@ -296,7 +296,7 @@
      Path exactBase = Paths.get(getExactFile(basePath).toURI());
      Path exactPath = Paths.get(getExactFile(path).toURI());
      if (exactPath.startsWith(exactBase)) {
         return exactBase.relativize(exactPath).toString();
         return exactBase.relativize(exactPath).toString().replace('\\', '/');
      }
      // no relative relationship
      return null;