aboutsummaryrefslogtreecommitdiff
path: root/weed/command/scaffold
diff options
context:
space:
mode:
authorKonstantin Lebedev <9497591+kmlebedev@users.noreply.github.com>2023-10-13 02:29:55 +0500
committerGitHub <noreply@github.com>2023-10-12 14:29:55 -0700
commit1cac5d983de408ced3c05a98a6745d1077e7c1e0 (patch)
tree68afa8db614baa2ef7296276b32c15fc52d74149 /weed/command/scaffold
parentedee91ef0eb7f7612ae961ac1d1ace2afbd92b87 (diff)
downloadseaweedfs-1cac5d983de408ced3c05a98a6745d1077e7c1e0.tar.xz
seaweedfs-1cac5d983de408ced3c05a98a6745d1077e7c1e0.zip
fix: disallow file name too long when writing a file (#4881)
* fix: disallow file name too long when writing a file * bool LongerName to MaxFilenameLength --------- Co-authored-by: Konstantin Lebedev <9497591+kmlebedev@users.noreply.github.co>
Diffstat (limited to 'weed/command/scaffold')
-rw-r--r--weed/command/scaffold/filer.toml1
1 files changed, 1 insertions, 0 deletions
diff --git a/weed/command/scaffold/filer.toml b/weed/command/scaffold/filer.toml
index 17123887d..55876bea0 100644
--- a/weed/command/scaffold/filer.toml
+++ b/weed/command/scaffold/filer.toml
@@ -12,6 +12,7 @@
# with http DELETE, by default the filer would check whether a folder is empty.
# recursive_delete will delete all sub folders and files, similar to "rm -Rf"
recursive_delete = false
+#max_file_name_length = 255
####################################################
# The following are filer store options