diff options
author | Ferdinand Thiessen <opensource@fthiessen.de> | 2024-08-13 10:29:53 +0200 |
---|---|---|
committer | Ferdinand Thiessen <opensource@fthiessen.de> | 2024-08-21 04:22:13 +0200 |
commit | 91573781dfdabdac55307004aa554f8ade003289 (patch) | |
tree | 0a9c9678a44a3d5c3b3db10a4a0bfc8594e78d55 /config | |
parent | b9cc7bcec71854665008e1332f6a7d3f39249d50 (diff) | |
download | nextcloud-server-91573781dfdabdac55307004aa554f8ade003289.tar.gz nextcloud-server-91573781dfdabdac55307004aa554f8ade003289.zip |
docs: Add information how forbidden filenames are handled on existing files.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Diffstat (limited to 'config')
-rw-r--r-- | config/config.sample.php | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/config/config.sample.php b/config/config.sample.php index 561416b7275..87aef75fe78 100644 --- a/config/config.sample.php +++ b/config/config.sample.php @@ -2008,8 +2008,9 @@ $CONFIG = [ 'updatedirectory' => '', /** - * Block a specific file or files and disallow the upload of files - * with this name. ``.htaccess`` is blocked by default. + * Block a specific file or files and disallow the upload of files with this name. + * This blocks any access to those files (read and write). + * ``.htaccess`` is blocked by default. * * WARNING: USE THIS ONLY IF YOU KNOW WHAT YOU ARE DOING. * @@ -2021,6 +2022,7 @@ $CONFIG = [ /** * Disallow the upload of files with specific basenames. + * Matching existing files can no longer be updated and in matching folders no files can be created anymore. * * The basename is the name of the file without the extension, * e.g. for "archive.tar.gz" the basename would be "archive". @@ -2034,6 +2036,7 @@ $CONFIG = [ /** * Block characters from being used in filenames. This is useful if you * have a filesystem or OS which does not support certain characters like windows. + * Matching existing files can no longer be updated and in matching folders no files can be created anymore. * * The '/' and '\' characters are always forbidden, as well as all characters in the ASCII range [0-31]. * @@ -2046,6 +2049,7 @@ $CONFIG = [ /** * Deny extensions from being used for filenames. + * Matching existing files can no longer be updated and in matching folders no files can be created anymore. * * The '.part' extension is always forbidden, as this is used internally by Nextcloud. * |