Skip to content

Commit

Permalink
Replace \ in DirectoryResource
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartwdouglas committed Apr 14, 2023
1 parent 38285a0 commit 537cc41
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ private class DirectoryResource implements Resource {
private final String path;

private DirectoryResource(String path) {
this.path = path;
this.path = path.replaceAll("\\\\", "/");
}

@Override
Expand Down

0 comments on commit 537cc41

Please sign in to comment.