Skip to content

Commit

Permalink
added trailing slash
Browse files Browse the repository at this point in the history
  • Loading branch information
jasinner committed Sep 14, 2017
1 parent 7519e03 commit 1b5414a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/redhat/victims/VictimsService.java
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public RecordStream removed(Date since) throws IOException {
*/
protected RecordStream fetch(Date since, String type) throws IOException {
SimpleDateFormat fmt = new SimpleDateFormat(VictimsRecord.DATE_FORMAT);
String spec = FileUtils.getFile(serviceEntry, type, fmt.format(since))
String spec = FileUtils.getFile(serviceEntry, type, fmt.format(since), "/")
.toString();
spec = FilenameUtils.normalize(spec, true);
URL merged = new URL(new URL(baseURI), spec);
Expand Down

0 comments on commit 1b5414a

Please sign in to comment.