diff --git a/server/bundles/io.cloudbeaver.service.fs/src/io/cloudbeaver/service/fs/impl/WebServiceFS.java b/server/bundles/io.cloudbeaver.service.fs/src/io/cloudbeaver/service/fs/impl/WebServiceFS.java index b7e6b3366b..3c568baea5 100644 --- a/server/bundles/io.cloudbeaver.service.fs/src/io/cloudbeaver/service/fs/impl/WebServiceFS.java +++ b/server/bundles/io.cloudbeaver.service.fs/src/io/cloudbeaver/service/fs/impl/WebServiceFS.java @@ -286,7 +286,7 @@ public void validateFilename(@NotNull String filename) throws DBWebException { Matcher matcher = FORBIDDEN_FILENAME_PATTERN.matcher(filename); if (matcher.find()) { - throw new DBWebException("File includes forbidden symbols: " + filename); + throw new DBWebException(String.format("File %s contains forbidden symbols", filename)); } } }