misc: extend default list of forbidden file types (#88352)
gitea/wcs/pipeline/head There was a failure building this commit
Details
gitea/wcs/pipeline/head There was a failure building this commit
Details
This commit is contained in:
parent
76b94d7ee8
commit
0ed6455a65
|
@ -1080,6 +1080,15 @@ class FileWithPreviewWidget(CompositeWidget):
|
||||||
'.pif',
|
'.pif',
|
||||||
'.php',
|
'.php',
|
||||||
'.js',
|
'.js',
|
||||||
|
'.pht',
|
||||||
|
'.phtml',
|
||||||
|
'.shtml',
|
||||||
|
'.asa',
|
||||||
|
'.asax',
|
||||||
|
'.cer',
|
||||||
|
'.swf',
|
||||||
|
'.xap',
|
||||||
|
'.ps1',
|
||||||
'application/x-ms-dos-executable',
|
'application/x-ms-dos-executable',
|
||||||
'text/x-php',
|
'text/x-php',
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in New Issue