misc: extend default list of forbidden file types (#88352)
gitea/wcs/pipeline/head There was a failure building this commit Details

This commit is contained in:
Frédéric Péters 2024-03-19 16:05:38 +01:00
parent 76b94d7ee8
commit 0ed6455a65
1 changed files with 9 additions and 0 deletions

View File

@ -1080,6 +1080,15 @@ class FileWithPreviewWidget(CompositeWidget):
'.pif',
'.php',
'.js',
'.pht',
'.phtml',
'.shtml',
'.asa',
'.asax',
'.cer',
'.swf',
'.xap',
'.ps1',
'application/x-ms-dos-executable',
'text/x-php',
]