FileSystemInterface::INSECURE_EXTENSIONS
A list of insecure extensions.
See also
\Drupal\Core\File\FileSystemInterface::INSECURE_EXTENSION_REGEX
File
-
core/
lib/ Drupal/ Core/ File/ FileSystemInterface.php, line 40
Class
- FileSystemInterface
- Provides an interface for helpers that operate on files and stream wrappers.
Namespace
Drupal\Core\FileCode
public const INSECURE_EXTENSIONS = [
'phar',
'php',
'pl',
'py',
'cgi',
'asp',
'js',
'htaccess',
'phtml',
];
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.