aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulius Knorr <jus@bitgrid.net>2024-12-20 12:28:33 +0100
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2024-12-20 12:12:33 +0000
commitc8f35085a1cfbbf4249d5e2ec09c33ede0b40c15 (patch)
treeaa45cd09773ca27d40c145c57b7ef69c5d13770b
parentad652036c5f72a951a7fe00f027faf8833316230 (diff)
downloadnextcloud-server-c8f35085a1cfbbf4249d5e2ec09c33ede0b40c15.tar.gz
nextcloud-server-c8f35085a1cfbbf4249d5e2ec09c33ede0b40c15.zip
fix: Create empty file instead of file with a space
Signed-off-by: Julius Knorr <jus@bitgrid.net>
-rw-r--r--apps/files/js/filelist.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js
index 7f5eade84ff..024acd64138 100644
--- a/apps/files/js/filelist.js
+++ b/apps/files/js/filelist.js
@@ -3034,7 +3034,7 @@
self.filesClient.putFileContents(
targetPath,
- ' ', // dont create empty files which fails on some storage backends
+ '',
{
contentType: 'text/plain',
overwrite: true