Browse Source

[conf] Update default value for RESTRICT_FILE_EXTENSIONS to None

Harsh Gupta 9 months ago
parent
commit
0f2d75653c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      apps/filebrowser/src/filebrowser/conf.py

+ 1 - 1
apps/filebrowser/src/filebrowser/conf.py

@@ -105,7 +105,7 @@ FILE_DOWNLOAD_CACHE_CONTROL = Config(
 
 RESTRICT_FILE_EXTENSIONS = Config(
   key='restrict_file_extensions',
-  default='',
+  default=None,
   type=coerce_csv,
   help=_(
     'Specify file extensions that are not allowed, separated by commas. For example: .exe, .zip, .rar, .tar, .gz'