FILE_INSECURE_EXTENSIONS
A pipe-separated list of insecure extensions.
See also
file_munge_filename(), file_save_upload()
Related topics
3 uses of FILE_INSECURE_EXTENSIONS
- file_munge_filename in includes/
file.inc - Modifies a filename as needed for security purposes.
- file_save_upload in includes/
file.inc - Saves a file upload to a new location.
- file_validate in includes/
file.inc - Checks that a file meets the criteria specified by the validators.
File
-
includes/
file.inc, line 77
Code
define('FILE_INSECURE_EXTENSIONS', 'php|phar|pl|py|cgi|asp|js|phtml');
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.