James Moger
2015-01-13 ffe9423942a8a8c8f69d7b77c6a59e6435002d83
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;