diff --git a/server/src/main/java/com/hedera/block/server/persistence/storage/PersistenceStorageConfig.java b/server/src/main/java/com/hedera/block/server/persistence/storage/PersistenceStorageConfig.java index 1893d40f..f2eacfd1 100644 --- a/server/src/main/java/com/hedera/block/server/persistence/storage/PersistenceStorageConfig.java +++ b/server/src/main/java/com/hedera/block/server/persistence/storage/PersistenceStorageConfig.java @@ -103,9 +103,9 @@ private Path getNormalizedPath( @NonNull final String semanticPathName) { final Path result; if (StringUtilities.isBlank(pathToNormalize)) { - result = Path.of(defaultIfBlank).toAbsolutePath(); + result = Path.of(defaultIfBlank).normalize().toAbsolutePath(); } else { - result = Path.of(pathToNormalize); + result = Path.of(pathToNormalize).normalize().toAbsolutePath(); } if (!result.isAbsolute()) {