aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKate <26026535+provokateurin@users.noreply.github.com>2024-12-20 13:29:27 +0100
committerGitHub <noreply@github.com>2024-12-20 13:29:27 +0100
commit25c4398a0bae2f49e43e2626d0b584e2aa8a5f7e (patch)
tree11c0b854c22cbd4986554cfda2acf44df4c6d4c7
parent08713db193bc91017b4f08fa5080628f036aba6b (diff)
parentafb4224b6758f641ecd890d3fa89b03b4e20a1d0 (diff)
downloadnextcloud-server-25c4398a0bae2f49e43e2626d0b584e2aa8a5f7e.tar.gz
nextcloud-server-25c4398a0bae2f49e43e2626d0b584e2aa8a5f7e.zip
Merge pull request #49938 from nextcloud/backport/49936/stable29
[stable29] fix: Create empty file instead of file with a space
-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