[VD:LocalFileSystem] fix #3615 Using .php8 in PHP handler leading to RCE

This commit is contained in:
nao-pon
2023-12-19 23:57:28 +09:00
parent 15bfec84b1
commit d2fce10a6a
+2
View File
@@ -280,6 +280,8 @@ abstract class elFinderVolumeDriver
'php4:*' => 'text/x-php',
'php5:*' => 'text/x-php',
'php7:*' => 'text/x-php',
'php8:*' => 'text/x-php',
'php9:*' => 'text/x-php',
'phtml:*' => 'text/x-php',
'phar:*' => 'text/x-php',
'cgi:*' => 'text/x-httpd-cgi',