Skip to content
Snippets Groups Projects
Commit bdb2d0a3 authored by Henrik tom Wörden's avatar Henrik tom Wörden
Browse files

Merge branch 'f-linked-file-with-space' into 'dev'

parents e70bbafc 4ff44a99
Branches
No related tags found
2 merge requests!66REL: prepare release 0.8.0,!64BUG: Fix for https://gitlab.com/caosdb/caosdb-server/-/issues/148
Pipeline #25248 passed
......@@ -17,7 +17,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed
* [caosdb-server#145](https://gitlab.com/caosdb/caosdb-server/-/issues/145) Searching for large numbers results in wrong results if integer values are
* [caosdb-server#148](https://gitlab.com/caosdb/caosdb-server/-/issues/148)
Cannot delete file entities containing unescaped space characters
* [caosdb-server#145](https://gitlab.com/caosdb/caosdb-server/-/issues/145)
Searching for large numbers results in wrong results if integer values are
used.
### Security
......
......@@ -525,7 +525,7 @@ public class FileUtils {
}
private static void callPosixUnlink(File file) throws IOException, InterruptedException {
final Process cmd = Runtime.getRuntime().exec("unlink " + file.getAbsolutePath());
final Process cmd = Runtime.getRuntime().exec(new String[] {"unlink", file.getAbsolutePath()});
if (cmd.waitFor() != 0) {
throw new CaosDBException("could not unlink " + file.getAbsolutePath());
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment