Skip to content

Commit

Permalink
generate documentation from config.sample.php
Browse files Browse the repository at this point in the history
  • Loading branch information
nextcloud-bot committed Aug 22, 2024
1 parent 911abcb commit 563ee8c
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions admin_manual/configuration_server/config_sample_php_parameters.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2898,8 +2898,10 @@ forbidden_filenames

'forbidden_filenames' => ['.htaccess'],

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.

Expand All @@ -2917,6 +2919,8 @@ forbidden_filename_basenames

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".

Expand All @@ -2935,6 +2939,8 @@ forbidden_filename_characters
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].

Example for windows systems: ``array('?', '<', '>', ':', '*', '|', '"')``
Expand All @@ -2952,6 +2958,8 @@ forbidden_filename_extensions

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.

Defaults to ``array('.filepart', '.part')``
Expand Down

0 comments on commit 563ee8c

Please sign in to comment.