@@ -176,10 +176,7 @@ public class RawServlet extends HttpServlet { | |||
} else { | |||
repository = path.substring(0, slash); | |||
} | |||
offset += slash; | |||
if (offset == 0) { | |||
offset++; | |||
} | |||
offset += ( slash + 1 ); | |||
r = repositoryManager.getRepository(repository, false); | |||
if (repository.equals(path)) { | |||
// either only repository in url or no repository found |