paladox
2015-11-23 2b1e02997f12e2cf12088d2e9f6eef107e1ce8f5
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;