From 6932cc4df7e0c2826e47b2d9ca2f0031f75b1b58 Mon Sep 17 00:00:00 2001 From: David Mehren Date: Sun, 27 Dec 2020 15:52:26 +0100 Subject: Always save uploads to a tmpdir first and cleanup afterwards This makes sure no unintended files are permanently saved. Co-authored-by: Yannick Bungers Signed-off-by: David Mehren --- package.json | 1 + 1 file changed, 1 insertion(+) (limited to 'package.json') diff --git a/package.json b/package.json index c77045ab..ae234182 100644 --- a/package.json +++ b/package.json @@ -112,6 +112,7 @@ "readline-sync": "^1.4.7", "request": "^2.88.0", "reveal.js": "^3.9.2", + "rimraf": "^3.0.2", "scrypt-async": "^2.0.1", "scrypt-kdf": "^2.0.1", "select2": "^3.5.2-browserify", -- cgit v1.2.3