diff --git a/Service/src/main/java/org/apidb/apicommon/service/services/jbrowse/JBrowseUserDatasetsService.java b/Service/src/main/java/org/apidb/apicommon/service/services/jbrowse/JBrowseUserDatasetsService.java index 59e7868f0..7a5870134 100644 --- a/Service/src/main/java/org/apidb/apicommon/service/services/jbrowse/JBrowseUserDatasetsService.java +++ b/Service/src/main/java/org/apidb/apicommon/service/services/jbrowse/JBrowseUserDatasetsService.java @@ -75,6 +75,8 @@ public Response getAllUserDatasetFileJBrowse(@QueryParam("data") String data, String path = String.format("%s/build-%s/%s/%s/%s", udDir, buildNumber, getWdkModel().getProjectId(), datasetID, data); + LOG.info("Looking up jbrowse files for dataset {} in directory " + path) + if (path.contains("..") || path.contains("$")) { throw new NotFoundException(formatNotFound("*")); }