diff options
author | Julius Knorr <jus@bitgrid.net> | 2024-12-20 12:28:33 +0100 |
---|---|---|
committer | Julius Knorr <jus@bitgrid.net> | 2024-12-20 12:31:32 +0100 |
commit | 2b1d4be4b8480866f4142752e9a35c2d5bdaede3 (patch) | |
tree | 9c49f41844c47b883c3f8db523ae1824881684f5 | |
parent | 3228a5cdb3e58ce7ad8ad6bfacc4857c72d120f6 (diff) | |
download | nextcloud-server-fix/empty-file-0byte-stable30.tar.gz nextcloud-server-fix/empty-file-0byte-stable30.zip |
fix: Create empty file instead of file with a spacefix/empty-file-0byte-stable30
Signed-off-by: Julius Knorr <jus@bitgrid.net>
-rw-r--r-- | apps/files/js/filelist.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js index ab9c57bfd46..b708d95742d 100644 --- a/apps/files/js/filelist.js +++ b/apps/files/js/filelist.js @@ -3030,7 +3030,7 @@ self.filesClient.putFileContents( targetPath, - ' ', // dont create empty files which fails on some storage backends + '', { contentType: 'text/plain', overwrite: true |